Skip to content

Firefly III: a personal finances manager

Fixed a bug in the report controller that grouped transactions wrong.

James Cole4af9ff49a043
diff --git a/app/Helpers/Report/ReportQuery.php b/app/Helpers/Report/ReportQuery.php
index f2ab84ea62..908c2c546b 100644
--- a/app/Helpers/Report/ReportQuery.php
+++ b/app/Helpers/Report/ReportQuery.php
@@ -230,7 +230,7 @@ class ReportQuery implements ReportQueryInterface
// any deposit is fine.
$query->where('transaction_types.type', 'Deposit');
}
- $query->groupBy('t_from.account_id')->orderBy('transaction_journals.date');
+ $query->groupBy('transaction_journals.id')->orderBy('transaction_journals.date');
// get everything, decrypt and return
$data = $query->get(