add order by on document list

This commit is contained in:
2022-04-19 15:46:10 +02:00
parent 7048f670ed
commit 26d5bf03bd
3 changed files with 3 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ class PersonDocumentACLAwareRepository implements PersonDocumentACLAwareReposito
$this->addACL($qb, $person);
foreach ($orderBy as [$field, $order]) {
foreach ($orderBy as $field => $order) {
$qb->addOrderBy($field, $order);
}