mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
@@ -159,7 +159,9 @@ class ReportController extends Controller
|
||||
|
||||
// get journals for entire period:
|
||||
$data = [];
|
||||
$chartData = [];
|
||||
$chartData = [
|
||||
|
||||
];
|
||||
/** @var GroupCollectorInterface $collector */
|
||||
$collector = app(GroupCollectorInterface::class);
|
||||
$collector->setRange($start, $end)->withAccountInformation();
|
||||
|
@@ -201,18 +201,17 @@ class TagController extends Controller
|
||||
$newestTagDate = null === $repository->newestTag() ? new Carbon : $repository->newestTag()->date;
|
||||
$oldestTagDate->startOfYear();
|
||||
$newestTagDate->endOfYear();
|
||||
$clouds = [];
|
||||
$clouds['no-date'] = $repository->tagCloud(null);
|
||||
$tags = [];
|
||||
$tags['no-date'] = $repository->getTagsInYear(null);
|
||||
|
||||
while ($newestTagDate > $oldestTagDate) {
|
||||
$year = $newestTagDate->year;
|
||||
$clouds[$year] = $repository->tagCloud($year);
|
||||
|
||||
$tags[$year] = $repository->getTagsInYear($year);
|
||||
$newestTagDate->subYear();
|
||||
}
|
||||
$count = $repository->count();
|
||||
|
||||
return view('tags.index', compact('clouds', 'count'));
|
||||
return view('tags.index', compact('tags', 'count'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user