mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-17 01:42:19 +00:00
Fix for #2647
This commit is contained in:
@@ -85,7 +85,7 @@ class ShowController extends Controller
|
|||||||
$subTitleIcon = 'fa-bar-chart';
|
$subTitleIcon = 'fa-bar-chart';
|
||||||
$page = (int)$request->get('page');
|
$page = (int)$request->get('page');
|
||||||
$pageSize = (int)app('preferences')->get('listPageSize', 50)->data;
|
$pageSize = (int)app('preferences')->get('listPageSize', 50)->data;
|
||||||
$oldest = $this->repository->firstUseDate($category) ?? Carbon::create()->startOfYear();
|
$oldest = $this->repository->firstUseDate($category) ?? Carbon::now()->startOfYear();
|
||||||
$periods = $this->getCategoryPeriodOverview($category, $oldest, $end);
|
$periods = $this->getCategoryPeriodOverview($category, $oldest, $end);
|
||||||
$path = route('categories.show', [$category->id, $start->format('Y-m-d'), $end->format('Y-m-d')]);
|
$path = route('categories.show', [$category->id, $start->format('Y-m-d'), $end->format('Y-m-d')]);
|
||||||
$subTitle = trans(
|
$subTitle = trans(
|
||||||
|
Reference in New Issue
Block a user