Skip to content

Commit

Permalink
Filter conference proposals in the review page
Browse files Browse the repository at this point in the history
  • Loading branch information
kracekumar committed Sep 23, 2017
1 parent 96e0aed commit bb38eef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion junction/proposals/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,8 @@ def proposals_to_review(request, conference_slug):
'proposal_type', 'proposal_section', 'conference', 'author',
).filter(conference=conference).filter(status=ProposalStatus.PUBLIC)
psr = ProposalSectionReviewer.objects.filter(
conference_reviewer__reviewer=request.user)
conference_reviewer__reviewer=request.user,
conference_reviewer__conference=conference)
proposal_reviewer_sections = [p.proposal_section for p in psr]
proposal_sections = conference.proposal_sections.all()
proposal_types = conference.proposal_types.all()
Expand Down

0 comments on commit bb38eef

Please sign in to comment.