bugfix for person document

This commit is contained in:
Julie Lenaerts 2022-08-29 11:30:48 +02:00
parent b1bfb2dd95
commit 0784b00793

View File

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