Skip to content

Commit

Permalink
Merge 9ae8283 into d84f748
Browse files Browse the repository at this point in the history
  • Loading branch information
ananyo2012 committed Jun 17, 2020
2 parents d84f748 + 9ae8283 commit 1f137a0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions junction/proposals/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def list_proposals(request, conference_slug):
# make sure it's after the tag filtering is applied
selected_proposals_list = proposals_qs.filter(
review_status=ProposalReviewStatus.SELECTED
)
).order_by("created_at")

selected_proposals = collections.defaultdict(list)
for proposal in selected_proposals_list:
Expand All @@ -123,8 +123,10 @@ def list_proposals(request, conference_slug):
{
"public_proposals_list": public_proposals_list,
"selected_proposals": dict(selected_proposals),
"proposal_sections": conference.proposal_sections.all(),
"proposal_types": conference.proposal_types.all(),
"proposal_sections": conference.proposal_sections.all().order_by(
"modified_at"
),
"proposal_types": conference.proposal_types.all().order_by("modified_at"),
"is_filtered": is_filtered,
"filter_name": filter_name,
"is_reviewer": permissions.is_proposal_reviewer(
Expand Down

0 comments on commit 1f137a0

Please sign in to comment.