Skip to content

Commit

Permalink
Merge pull request ANSTO#8 from joshpme/master
Browse files Browse the repository at this point in the history
Show page 1 by default!
  • Loading branch information
joshpme authored Sep 27, 2022
2 parents ecce7db + e181546 commit 18c4f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
);

Expand Down

0 comments on commit 18c4f5a

Please sign in to comment.