Skip to content

Firefly III: a personal finances manager

Fix a bug where the frontpage would not honor transaction order.

James Cole44811a3e7cbf
diff --git a/app/Repositories/Account/AccountRepository.php b/app/Repositories/Account/AccountRepository.php
index 516be1fa6e..4376e02ff9 100644
--- a/app/Repositories/Account/AccountRepository.php
+++ b/app/Repositories/Account/AccountRepository.php
@@ -172,6 +172,7 @@ class AccountRepository implements AccountRepositoryInterface
->before($end)
->after($start)
->orderBy('transaction_journals.date', 'DESC')
+ ->orderBy('transaction_journals.order', 'ASC')
->orderBy('transaction_journals.id', 'DESC')
->take(10)
->get(['transaction_journals.*', 'transaction_currencies.symbol', 'transaction_types.type']);