Commit cb701231 authored by Julien Palard's avatar Julien Palard
Browse files

Stats: Order by name.

parent da1fcb50
......@@ -154,6 +154,8 @@ class StatsDetailView(UserPassesTestMixin, DetailView):
),
).order_by("position")
]
for user in User.objects.filter(groups=context["object"])
for user in User.objects.filter(groups=context["object"]).order_by(
"username"
)
}
return context
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment