Skip to content

Commit 0c0de05

Browse files
PasiSamarkkuriekkinen
authored andcommitted
Fix non-revealed chapters in ModuleView
Fixes #1266
1 parent da7054d commit 0c0de05

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
@@ -250,8 +250,8 @@ def get_common_objects(self):
250250
super().get_common_objects()
251251
self.now = timezone.now()
252252
try:
253-
self.children = self.content.flat_module(self.module)
254-
cur, _tree, prev, nex = self.content.find(self.module)
253+
self.children = self.points.flat_module(self.module)
254+
cur, _tree, prev, nex = self.points.find(self.module)
255255
self.previous = prev
256256
self.current = cur
257257
self.next = nex

0 commit comments

Comments
 (0)