Commit eea37506 authored by Nicolas Joyard's avatar Nicolas Joyard

Add default sort to groups

parent d0daa705
......@@ -138,4 +138,4 @@ class GroupList(generic.ListView):
if kind:
qs = qs.filter(kind=kind).distinct()
return qs.select_related('chamber')
return qs.select_related('chamber').order_by('chamber__name', 'name')
Markdown is supported
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