Skip to content

Commit

Permalink
Change law priority order on jurisdiction page
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanw committed Apr 12, 2021
1 parent ad20038 commit 01e49b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion froide/publicbody/views.py
Expand Up @@ -86,7 +86,7 @@ def show_jurisdiction(request, slug):
"object": jurisdiction,
"pb_count": PublicBody.objects.filter(jurisdiction=jurisdiction).count(),
"laws": FoiLaw.objects.filter(meta=False,
jurisdiction=jurisdiction).order_by('priority'),
jurisdiction=jurisdiction).order_by('-priority'),
"foirequests": FoiRequest.published.filter(jurisdiction=jurisdiction)[:5]
}
template_names = (
Expand Down

0 comments on commit 01e49b6

Please sign in to comment.