summaryrefslogtreecommitdiffstats
path: root/settings/users.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-05-18 12:23:12 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-05-18 12:55:19 +0200
commitd683752b37dd2ed40cddbc446e326015b3036ad3 (patch)
treed1533bfe1706463397aa35df27c03ac9de78aafd /settings/users.php
parent73a3086945b41afa39debd89481c021934dedb67 (diff)
downloadnextcloud-server-d683752b37dd2ed40cddbc446e326015b3036ad3.tar.gz
nextcloud-server-d683752b37dd2ed40cddbc446e326015b3036ad3.zip
Sort user groups by group name and hide the user count
Diffstat (limited to 'settings/users.php')
-rw-r--r--settings/users.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/users.php b/settings/users.php
index 0fc9fbeafc2..44e2548be72 100644
--- a/settings/users.php
+++ b/settings/users.php
@@ -42,7 +42,7 @@ $config = \OC::$server->getConfig();
$isAdmin = OC_User::isAdminUser(OC_User::getUser());
$groupsInfo = new \OC\Group\MetaData(OC_User::getUser(), $isAdmin, $groupManager);
-$groupsInfo->setSorting($groupsInfo::SORT_USERCOUNT);
+$groupsInfo->setSorting($groupsInfo::SORT_GROUPNAME);
list($adminGroup, $groups) = $groupsInfo->get();
$recoveryAdminEnabled = OC_App::isEnabled('encryption') &&