Merge branch 'review-order' into 'master'

Order by ID rather than at last update time

See merge request !16
This commit is contained in:
Bruce Crawley 2017-07-16 00:43:39 +00:00
commit 56dc089d59

View file

@ -107,7 +107,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.section) queryset = ProposalBase.objects.filter(kind__section=section.section).order_by('id')
if assigned: if assigned:
assignments = ReviewAssignment.objects.filter(user=request.user)\ assignments = ReviewAssignment.objects.filter(user=request.user)\