From de15ca01e3fc3dcd200193459e3cbb979f8db9d4 Mon Sep 17 00:00:00 2001 From: James Cole Date: Thu, 19 Oct 2017 20:51:15 +0200 Subject: [PATCH] Fix #895 --- app/Helpers/Collector/JournalCollector.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Helpers/Collector/JournalCollector.php b/app/Helpers/Collector/JournalCollector.php index c53443cf21..923da5c13a 100644 --- a/app/Helpers/Collector/JournalCollector.php +++ b/app/Helpers/Collector/JournalCollector.php @@ -512,7 +512,8 @@ class JournalCollector implements JournalCollectorInterface ->orderBy('transaction_journals.date', 'DESC') ->orderBy('transaction_journals.order', 'ASC') ->orderBy('transaction_journals.id', 'DESC') - ->orderBy('transaction_journals.description', 'DESC'); + ->orderBy('transaction_journals.description', 'DESC') + ->orderBy('transactions.amount','DESC'); $this->query = $query;