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

Commit 4b76b25

Browse files
committed
Merge branch 'master' into self_grade
2 parents 085b11a + a06dca2 commit 4b76b25

File tree

3 files changed

+195
-317
lines changed

3 files changed

+195
-317
lines changed

controllers/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ def grading():
624624
chapters_query = db(db.chapters.course_id == base_course).select()
625625
for row in chapters_query:
626626
q_list = []
627-
chapter_questions = db((db.questions.chapter == row.chapter_label) & (db.questions.base_course == base_course) & (db.questions.question_type == 'question')).select()
627+
chapter_questions = db((db.questions.chapter == row.chapter_label) & (db.questions.base_course == base_course) & (db.questions.question_type != 'page')).select()
628628
for chapter_q in chapter_questions:
629629
q_list.append(chapter_q.name)
630630
chapter_labels[row.chapter_label] = q_list

0 commit comments

Comments
 (0)