diff options
-rw-r--r-- | lib/private/Group/Database.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/Group/Database.php b/lib/private/Group/Database.php index b9b2428e01b..abd7f6ee6ee 100644 --- a/lib/private/Group/Database.php +++ b/lib/private/Group/Database.php @@ -341,8 +341,7 @@ class Database extends Backend { $query = $this->dbConn->getQueryBuilder(); $query->selectAlias($query->createFunction('COUNT(*)'), 'num_users') ->from('group_user') - ->where($query->expr()->eq('gid', $query->createNamedParameter($gid))) - ->orderBy('uid', 'ASC'); + ->where($query->expr()->eq('gid', $query->createNamedParameter($gid))); if ($search !== '') { $query->andWhere($query->expr()->like('uid', $query->createNamedParameter( |