feat: sort documents by status 'new' on initial render

This commit is contained in:
Björn Fromme
2024-08-27 10:43:14 +02:00
parent 0f76e5c439
commit 5ac77e9e9c
6 changed files with 8 additions and 8 deletions
@@ -30,11 +30,7 @@ class IndexController extends AbstractController
$pagination = $this->paginator->paginate(
$query,
$request->query->getInt('page', 1),
10,
[
'defaultSortFieldName' => 'upload.createdAt',
'defaultSortDirection' => 'asc',
]
10
);
return $this->render('administrative/document/index.html.twig', [