From 1064fc3876163b6e358d1540e9fadbb6f89458c1 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Thu, 29 Sep 2022 11:13:30 +0200 Subject: [PATCH] correct bug in personDocumentController --- .../ChillDocStoreBundle/Controller/DocumentPersonController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillDocStoreBundle/Controller/DocumentPersonController.php b/src/Bundle/ChillDocStoreBundle/Controller/DocumentPersonController.php index 5e8915d02..062ac3e4a 100644 --- a/src/Bundle/ChillDocStoreBundle/Controller/DocumentPersonController.php +++ b/src/Bundle/ChillDocStoreBundle/Controller/DocumentPersonController.php @@ -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() );