This commit is contained in:
Ross
2021-09-12 09:50:09 +01:00
parent 9af47ff330
commit f9fc597902
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -671,7 +671,7 @@ def mark_answer(request, exam_id, question_number, cid):
previous_cid = cid_list[cid_list.index(cid)-1]
try:
unmarked = question.get_unmarked_answers()
unmarked = question.get_unmarked_answers(exam_pk=exam.id, marker=request.user)
next_unmarked_id = unmarked[0].cid
if next_unmarked_id == cid:
next_unmarked_id = unmarked[1].cid