mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-23 23:13:18 -06:00
Fix bug in year report.
This commit is contained in:
parent
0574a706c8
commit
ae328de469
@ -42,6 +42,7 @@ SHOW_DEMO_WARNING=false
|
||||
|
||||
ANALYTICS_ID=
|
||||
SITE_OWNER=mail@example.com
|
||||
|
||||
PUSHER_KEY=
|
||||
PUSHER_SECRET=
|
||||
PUSHER_APP_ID=
|
||||
|
@ -426,18 +426,6 @@ class AccountRepository implements AccountRepositoryInterface
|
||||
}
|
||||
// that should do it:
|
||||
$fields = TransactionJournal::queryFields();
|
||||
$fields[] = 'source.account_id as source_account_id';
|
||||
$fields[] = 'source.amount as source_amount';
|
||||
$fields[] = 'destination.account_id as destination_account_id';
|
||||
$fields[] = 'destination.amount as destination_amount';
|
||||
|
||||
$query->groupBy(
|
||||
['source.account_id',
|
||||
'source.amount',
|
||||
'destination.account_id',
|
||||
'destination.amount',]
|
||||
);
|
||||
|
||||
$complete = $query->get($fields);
|
||||
|
||||
return $complete;
|
||||
|
Loading…
Reference in New Issue
Block a user