This commit is contained in:
David Ray 2014-06-19 23:55:15 -04:00
parent 6b9fb3a49d
commit 5b853f9300

View file

@ -69,7 +69,7 @@ def review_section(request, section_slug, assigned=False, reviewed="all"):
return access_not_permitted(request)
section = get_object_or_404(ProposalSection, section__slug=section_slug)
queryset = ProposalBase.objects.filter(kind__section=section)
queryset = ProposalBase.objects.filter(kind__section=section.section)
if assigned:
assignments = ReviewAssignment.objects.filter(user=request.user).values_list("proposal__id")