From f9e541209bebf528ed949aeb18efd5f6a81a3d33 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 18 Oct 2021 17:55:44 +0100 Subject: [PATCH] . --- anatomy/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anatomy/forms.py b/anatomy/forms.py index 476c9b22..5e3b5672 100644 --- a/anatomy/forms.py +++ b/anatomy/forms.py @@ -103,7 +103,7 @@ class AnatomyQuestionForm(ModelForm): if self.user.groups.filter(name="anatomy_checker").exists(): exam_queryset = Exam.objects.all() else: - exam_queryset = Exam.objects.filter(author__id=self.user.id) + exam_queryset = Exam.objects.filter(author__id=self.user.id) | Exam.objects.filter(open_access=True) self.fields["exams"] = ModelMultipleChoiceField( required=False,