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

This commit is contained in:
James Cole 2015-12-21 11:30:58 +01:00
parent 1ab3f05b3a
commit 44811a3e7c

View File

@ -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']);