correct bug in personDocumentController

This commit is contained in:
Julie Lenaerts 2022-09-29 11:13:30 +02:00
parent 32187cfe06
commit 1064fc3876

View File

@ -178,7 +178,7 @@ class DocumentPersonController extends AbstractController
$documents = $this->personDocumentACLAwareRepository->findByPerson(
$person,
['d.date' => 'DESC', 'd.id' => 'DESC'],
['date' => 'DESC', 'id' => 'DESC'],
$pagination->getItemsPerPage(),
$pagination->getCurrentPageFirstItemNumber()
);