Skip to content

Commit

Permalink
Sort menu items in frontend (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
dasGoogle committed Dec 21, 2023
1 parent 970e298 commit 44c0e77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion myhpi/core/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def base_context(request):
page_lookup = {}

for page in pages_visible_for_user:
page_lookup[page.path] = pages_visible_for_user.child_of(page)
page_lookup[page.path] = pages_visible_for_user.child_of(page).order_by("path")

minutes_creation_links = {}
for group in request.user.groups.all():
Expand Down

0 comments on commit 44c0e77

Please sign in to comment.