mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
fixed: query for index in PersonDocumentACLAwareRepository
This commit is contained in:
parent
ab08dab88a
commit
5962d3f233
@ -65,7 +65,7 @@ class PersonDocumentACLAwareRepository implements PersonDocumentACLAwareReposito
|
|||||||
$this->addACL($qb, $person);
|
$this->addACL($qb, $person);
|
||||||
|
|
||||||
foreach ($orderBy as $field => $order) {
|
foreach ($orderBy as $field => $order) {
|
||||||
$qb->addOrderBy($field, $order);
|
$qb->addOrderBy('d.' . $field, $order);
|
||||||
}
|
}
|
||||||
|
|
||||||
$qb->setFirstResult($offset)->setMaxResults($limit);
|
$qb->setFirstResult($offset)->setMaxResults($limit);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user