Fix some issues
This commit is contained in:
1 parent
52b3df154f
commit
48e4699cfd
5 files changed
+25
-11
No files matched your search
@@ -91,7 +91,11 @@ class DirectoryController extends AbstractController
|
||||
* @var CertificateRepository $repo
|
||||
*/
|
||||
$repo = $entityManager->getRepository('App\Entity\\' . $dType);
|
||||
$RenderArray[$dType] = $repo->listForUser($this->getUser())->limitDirectory($Directory)->getResult();
|
||||
$RenderArray[$dType] = $repo->listForUser($this->getUser())
|
||||
->limitDirectory($Directory)
|
||||
->order(['createdAt' => 'DESC'])
|
||||
->limit(4)
|
||||
->getResult();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user