From cf148a01f3de1473e7787ed29e5f240d6abb9b72 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 2 Aug 2021 12:19:13 +0100 Subject: [PATCH] . --- longs/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/longs/views.py b/longs/views.py index 7f149935..f02aa1f8 100755 --- a/longs/views.py +++ b/longs/views.py @@ -744,7 +744,7 @@ def exam_scores_cid(request, pk): questions = exam.exam_questions.all() cids = ( - CidUserAnswer.objects.filter(question__in=questions) + CidUserAnswer.objects.filter(question__in=questions, exam__id=pk) .order_by("cid") .values_list("cid", flat=True) .distinct()