diff options
author | ringmaster <epithet@gmail.com> | 2014-05-06 09:01:37 -0400 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-06-02 12:53:58 +0200 |
commit | 097887a659d582b5f481aee205ee9adeac551d0a (patch) | |
tree | 419604bedb0c26af71b0b42d68e598940bffa5fb /settings | |
parent | 747c01161530edf47c4e727250f592652e66ba31 (diff) | |
download | nextcloud-server-097887a659d582b5f481aee205ee9adeac551d0a.tar.gz nextcloud-server-097887a659d582b5f481aee205ee9adeac551d0a.zip |
Add the admin group to the group list data.
Fixes the admin group disappearing from the list when updating the display as the result of a search.
This group data should probably be managed on the page entirely by the javascript GroupList object, but this seems like the interim method.
Diffstat (limited to 'settings')
-rw-r--r-- | settings/templates/users/main.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/settings/templates/users/main.php b/settings/templates/users/main.php index 1c35690d2ac..c5805d53476 100644 --- a/settings/templates/users/main.php +++ b/settings/templates/users/main.php @@ -9,6 +9,9 @@ $allGroups=array(); foreach($_["groups"] as $group) { $allGroups[] = $group['name']; } +foreach($_["adminGroup"] as $group) { + $allGroups[] = $group['name']; +} $userlistParams['subadmingroups'] = $allGroups; $userlistParams['allGroups'] = json_encode($allGroups); $items = array_flip($userlistParams['subadmingroups']); |