Skip to content

Firefly III: a personal finances manager

Fix bug in year report.

James Coleae328de46992
diff --git a/.env.example b/.env.example
index fb1c164ed1..29286f6fa3 100755
--- a/.env.example
+++ b/.env.example
@@ -42,6 +42,7 @@ SHOW_DEMO_WARNING=false
ANALYTICS_ID=
+
PUSHER_KEY=
PUSHER_SECRET=
PUSHER_APP_ID=
diff --git a/app/Repositories/Account/AccountRepository.php b/app/Repositories/Account/AccountRepository.php
index 4c44bc263b..7802ac773c 100644
--- a/app/Repositories/Account/AccountRepository.php
+++ b/app/Repositories/Account/AccountRepository.php
@@ -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;