mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-20 08:30:06 +00:00
More stuff for categories.
This commit is contained in:
@@ -163,7 +163,7 @@ class CategoryController extends Controller
|
||||
|
||||
// oldest transaction in category:
|
||||
//$start = $repository->getFirstActivityDate($category);
|
||||
$start = $repository->firstUseDate($category, new Account);
|
||||
$start = $repository->firstUseDate($category, new Collection);
|
||||
$range = Preferences::get('viewRange', '1M')->data;
|
||||
$start = Navigation::startOfPeriod($start, $range);
|
||||
$end = Navigation::endOfX(new Carbon, $range);
|
||||
|
||||
Reference in New Issue
Block a user