From e181546ba8229aed7985dfac43b88bafa4548673 Mon Sep 17 00:00:00 2001 From: Josh Date: Tue, 27 Sep 2022 17:51:59 +1000 Subject: [PATCH] Show page 1 by default! --- src/Controller/UserController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/UserController.php b/src/Controller/UserController.php index 3489ebf..95c03dc 100644 --- a/src/Controller/UserController.php +++ b/src/Controller/UserController.php @@ -33,7 +33,7 @@ public function indexAction(Request $request, PaginatorInterface $paginator) $pagination = $paginator->paginate( $query, - $request->query->getInt('page', 10), + $request->query->getInt('page', 1), 10 );