mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fixed some query things.
This commit is contained in:
@@ -430,6 +430,12 @@ class AccountRepository implements AccountRepositoryInterface
|
||||
$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;
|
||||
|
Reference in New Issue
Block a user