aboutsummaryrefslogtreecommitdiffstats
path: root/settings/controller/groupscontroller.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/controller/groupscontroller.php')
-rw-r--r--settings/controller/groupscontroller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/controller/groupscontroller.php b/settings/controller/groupscontroller.php
index 1624b9e28ac..c3c0ea5ff20 100644
--- a/settings/controller/groupscontroller.php
+++ b/settings/controller/groupscontroller.php
@@ -76,7 +76,7 @@ class GroupsController extends Controller {
$groupsInfo = new \OC\Group\MetaData($this->userSession->getUser()->getUID(),
$this->isAdmin, $this->groupManager);
- $groupsInfo->setSorting($groupsInfo::SORT_USERCOUNT);
+ $groupsInfo->setSorting($groupsInfo::SORT_GROUPNAME);
list($adminGroups, $groups) = $groupsInfo->get($groupPattern, $pattern);
return new DataResponse(