Remove exam_mode filter for superusers in generic_exam_htmx to display all non-archived exams

This commit is contained in:
Ross
2026-03-25 21:37:56 +00:00
parent 1b199150e5
commit ffb730e9c8
+1 -1
View File
@@ -773,7 +773,7 @@ def generic_exam_htmx(request):
# For non-superusers, only show exams they can edit or that they authored
if request.user.is_superuser:
exams = Exam.objects.filter(archive=False, exam_mode=True).order_by("name")
exams = Exam.objects.filter(archive=False).order_by("name")
else:
# authors or markers or assigned exams
exams = (