mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Make sure default is set.
This commit is contained in:
parent
7fbed452bb
commit
954bf779eb
@ -75,6 +75,7 @@ class Controller extends BaseController
|
|||||||
private function getParameters(): ParameterBag
|
private function getParameters(): ParameterBag
|
||||||
{
|
{
|
||||||
$bag = new ParameterBag();
|
$bag = new ParameterBag();
|
||||||
|
$bag->set('limit', 50);
|
||||||
try {
|
try {
|
||||||
$page = (int)request()->get('page');
|
$page = (int)request()->get('page');
|
||||||
} catch (ContainerExceptionInterface | NotFoundExceptionInterface $e) {
|
} catch (ContainerExceptionInterface | NotFoundExceptionInterface $e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user