mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-13 22:32:15 +00:00
Sort the group list
This commit is contained in:
@@ -55,6 +55,8 @@ def group_list(request):
|
||||
|
||||
group_list.append((group.id, group.name, group.groupinformation.description, status, requestable, fixed, pending))
|
||||
|
||||
group_list = sorted(group_list, key=lambda name: name[1].lower())
|
||||
|
||||
return render_to_response('groups/group_list.html', locals(), context_instance=RequestContext(request))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user