Skip to content
Snippets Groups Projects
Commit 0f71f7e0 authored by HeJ's avatar HeJ
Browse files

Merge branch 'fix/team-order' into 'develop'

Fix team order in backoffice sidebar

See merge request hub/hub!1142
parents cd49e881 b3f34138
Branches
Tags
No related merge requests found
...@@ -29,7 +29,7 @@ class TeamNavContextMixin(ConferenceRuleLoginRequiredMixin): ...@@ -29,7 +29,7 @@ class TeamNavContextMixin(ConferenceRuleLoginRequiredMixin):
), ),
'classes': [], 'classes': [],
} }
for team in Team.objects.all() for team in Team.objects.all().order_by('name')
if self.request.user.has_perm('core.view_team', team) if self.request.user.has_perm('core.view_team', team)
] ]
team_entry = { team_entry = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment