More stuff for categories.

This commit is contained in:
James Cole
2016-05-09 18:06:53 +02:00
parent 98e683329e
commit a90d095609
3 changed files with 15 additions and 10 deletions

View File

@@ -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);