mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-07-19 10:04:28 -07:00
Fix variables
This commit is contained in:
@@ -82,7 +82,7 @@ final class IndexController extends Controller
|
||||
|
||||
$subTitleIcon = config('firefly.transactionIconsByType.'.$objectType);
|
||||
$types = config('firefly.transactionTypesByType.'.$objectType);
|
||||
$page = (int) $request->get('page');
|
||||
$page = (int) $request->input('page');
|
||||
$pageSize = (int) Preferences::get('listPageSize', 50)->data;
|
||||
|
||||
if (!$start instanceof Carbon) {
|
||||
@@ -151,7 +151,8 @@ final class IndexController extends Controller
|
||||
{
|
||||
$subTitleIcon = config('firefly.transactionIconsByType.'.$objectType);
|
||||
$types = config('firefly.transactionTypesByType.'.$objectType);
|
||||
$page = (int) $request->get('page');
|
||||
$page = (int) $request->input('page');
|
||||
$page = min(max(1, $page), 2 ** 16);
|
||||
$pageSize = (int) Preferences::get('listPageSize', 50)->data;
|
||||
$path = route('transactions.index.all', [$objectType]);
|
||||
$first = $this->repository->firstNull();
|
||||
|
||||
Reference in New Issue
Block a user