From d56bcea2e6839bb13f0dadb426efd6d66fd51335 Mon Sep 17 00:00:00 2001 From: Christopher Neugebauer Date: Wed, 17 Aug 2016 08:09:21 +1000 Subject: [PATCH] =?UTF-8?q?Makes=20the=20=E2=80=9Creviewer=E2=80=99s=20rev?= =?UTF-8?q?iews=E2=80=9D=20page=20filter=20by=20section?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- symposion/reviews/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/symposion/reviews/views.py b/symposion/reviews/views.py index 482ec0a4..a3eebfc6 100644 --- a/symposion/reviews/views.py +++ b/symposion/reviews/views.py @@ -237,6 +237,7 @@ def review_list(request, section_slug, user_pk): queryset = ProposalBase.objects.select_related("speaker__user", "result") reviewed = LatestVote.objects.filter(user__pk=user_pk).values_list("proposal", flat=True) + queryset = queryset.filter(kind__section__slug=section_slug) queryset = queryset.filter(pk__in=reviewed) proposals = queryset.order_by("submitted")