We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20a1b66 commit 3077344Copy full SHA for 3077344
1 file changed
components/rsptx/db/crud/question.py
@@ -365,7 +365,10 @@ async def fetch_question_count_per_subchapter(
365
and_(
366
Question.base_course == course_name,
367
Question.from_source == True, # noqa 711
368
- Question.optional != True, # noqa 711
+ or_(
369
+ Question.optional == False, # noqa 711
370
+ Question.optional == None, # noqa 711
371
+ )
372
)
373
374
.group_by(Question.chapter, Question.subchapter)
0 commit comments