Fixes #11
This commit is contained in:
parent
6b9fb3a49d
commit
5b853f9300
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ def review_section(request, section_slug, assigned=False, reviewed="all"):
|
||||||
return access_not_permitted(request)
|
return access_not_permitted(request)
|
||||||
|
|
||||||
section = get_object_or_404(ProposalSection, section__slug=section_slug)
|
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:
|
if assigned:
|
||||||
assignments = ReviewAssignment.objects.filter(user=request.user).values_list("proposal__id")
|
assignments = ReviewAssignment.objects.filter(user=request.user).values_list("proposal__id")
|
||||||
|
|
Loading…
Reference in a new issue