Skip to content
This repository was archived by the owner on Jun 30, 2024. It is now read-only.

Commit 3801fe8

Browse files
committed
bugfix - use basecourse in subchapoverview
1 parent 9563584 commit 3801fe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/dashboard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ def subchapoverview():
431431
from sub_chapters join chapters on chapters.id = sub_chapters.chapter_id
432432
where chapters.course_id = '{}'
433433
order by chapter_num, sub_chapter_num;
434-
""".format(course), settings.database_uri )
434+
""".format(thecourse.base_course), settings.database_uri )
435435

436436
if request.vars.tablekind != "sccount":
437437
pt = pt.reset_index(2)

0 commit comments

Comments
 (0)