feat: keep pagination parameters when returning to previous page

This commit is contained in:
Björn Fromme
2024-06-19 09:05:16 +02:00
parent 590ed2fdc3
commit 83e0986c9a
12 changed files with 29 additions and 15 deletions
@@ -35,7 +35,7 @@ class IndexController extends AbstractController
$pagination = $this->paginator->paginate(
$query,
$request->query->getInt('page', 1),
10,
9,
[
'defaultSortFieldName' => 'assignment.dateFrom',
'defaultSortDirection' => 'asc',