mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-20 03:08:11 +00:00
Optimise query. [skip ci]
This commit is contained in:
@@ -166,7 +166,7 @@ class ReportController extends Controller
|
||||
*/
|
||||
if ($start->between($first, $last) || $end->between($first, $last)) {
|
||||
$exists = true;
|
||||
$journals = $repos->journalsInPeriod($accounts, [], $start, $end);
|
||||
$journals = $repos->journalsInPeriod(new Collection([$account]), [], $start, $end);
|
||||
|
||||
}
|
||||
/*
|
||||
|
Reference in New Issue
Block a user