fixed: query for index in PersonDocumentACLAwareRepository

This commit is contained in:
Julien Fastré 2022-07-11 12:56:34 +02:00
parent ab08dab88a
commit 5962d3f233

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);