diff options
-rw-r--r-- | lib/private/Collaboration/Resources/Manager.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Collaboration/Resources/Manager.php b/lib/private/Collaboration/Resources/Manager.php index d26c6b5d141..7f0e6b3779e 100644 --- a/lib/private/Collaboration/Resources/Manager.php +++ b/lib/private/Collaboration/Resources/Manager.php @@ -132,6 +132,7 @@ class Manager implements IManager { ) ->where($query->expr()->iLike('c.name', $query->createNamedParameter($filter, IQueryBuilder::PARAM_STR))) ->andWhere($query->expr()->neq('a.access', $query->createNamedParameter(0, IQueryBuilder::PARAM_INT))) + ->orderBy('c.id') ->setMaxResults($limit) ->setFirstResult($start); $result = $query->execute(); |