This commit is contained in:
James Cole 2022-07-16 16:59:17 +02:00
parent c97792d1d1
commit 2bd068211b
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80
2 changed files with 1 additions and 11 deletions

View File

@ -105,7 +105,7 @@ class NoCategoryController extends Controller
->withAccountInformation()->withBudgetInformation()
->setTypes([TransactionType::WITHDRAWAL, TransactionType::DEPOSIT, TransactionType::TRANSFER]);
$groups = $collector->getPaginatedGroups();
$groups->setPath(route('categories.no-category'));
$groups->setPath(route('categories.no-category', [$start->format('Y-m-d'), $end->format('Y-m-d')]));
return view('categories.no-category', compact('groups', 'subTitle', 'periods', 'start', 'end'));
}

View File

@ -422,15 +422,6 @@ trait PeriodOverview
Log::debug(sprintf('End for getNoCategoryPeriodOverview() is %s', $end->format('Y-m-d')));
// properties for cache
$cache = new CacheProperties;
$cache->addProperty($start);
$cache->addProperty($end);
$cache->addProperty('no-category-period-entries');
if ($cache->has()) {
return $cache->get();
}
$dates = app('navigation')->blockPeriods($start, $end, $range);
$entries = [];
@ -475,7 +466,6 @@ trait PeriodOverview
];
}
Log::debug('End of loops');
$cache->store($entries);
return $entries;
}