fixed: query for index in PersonDocumentACLAwareRepository

This commit is contained in:
Julien Fastré 2022-07-11 12:56:34 +02:00
parent e7ba42de1f
commit 191b8ecf81

View File

@ -65,7 +65,7 @@ class PersonDocumentACLAwareRepository implements PersonDocumentACLAwareReposito
$this->addACL($qb, $person);
foreach ($orderBy as $field => $order) {
$qb->addOrderBy($field, $order);
$qb->addOrderBy('d.' . $field, $order);
}
$qb->setFirstResult($offset)->setMaxResults($limit);