Make sure the results are always sorted the same
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
a8a5472401
commit
c8c59e6006
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue