Skip to content

Commit 99e5650

Browse files
PasiSarkdarst
authored andcommitted
Fix non-revealed chapters in ModuleView
Fixes apluslms#1266
1 parent d3e162f commit 99e5650

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

course/views.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,8 @@ def get_common_objects(self):
241241
super().get_common_objects()
242242
self.now = timezone.now()
243243
try:
244-
self.children = self.content.flat_module(self.module)
245-
cur, _tree, prev, nex = self.content.find(self.module)
244+
self.children = self.points.flat_module(self.module)
245+
cur, _tree, prev, nex = self.points.find(self.module)
246246
self.previous = prev
247247
self.current = cur
248248
self.next = nex

0 commit comments

Comments
 (0)