Different order for recurrences [skip ci]

This commit is contained in:
James Cole 2018-07-01 21:32:48 +02:00
parent e9655e6d86
commit c6b60ff6b4

View File

@ -71,7 +71,7 @@ class RecurringRepository implements RecurringRepositoryInterface
return $this->user->recurrences()
->with(['TransactionCurrency', 'TransactionType', 'RecurrenceRepetitions', 'RecurrenceTransactions'])
->orderBy('active', 'DESC')
->orderBy('transaction_type_id', 'DESC')
->orderBy('transaction_type_id', 'ASC')
->orderBy('title', 'ASC')
->get();
}