Skip to content

Commit

Permalink
Set an explicit ordering on the project listing
Browse files Browse the repository at this point in the history
  • Loading branch information
haydngreatnews committed Jul 24, 2024
1 parent 2b048ff commit ab4fa93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cdhweb/projects/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@ def get_child_queryset(self, request, filter_form):
# making the results into a queryset (above)
children = children.current()

children = children.order_by("title")
return children

def get_context(self, request, year=None, month=None):
Expand Down

0 comments on commit ab4fa93

Please sign in to comment.