Sort group members by id
This commit is contained in:
parent
f66f7c8f5a
commit
9f1cbafc5f
|
@ -64,6 +64,7 @@ class Group:
|
|||
# to_dict() is usually called for display purposes, so get some more
|
||||
# information to display
|
||||
data['members'] = self.ldap_srv.get_display_info_for_users(self.members)
|
||||
data['members'].sort(key=lambda member: member['uid'])
|
||||
return data
|
||||
|
||||
def add_to_ldap(self):
|
||||
|
|
Loading…
Reference in New Issue