Skip to content

Firefly III: a personal finances manager

Add extra order for better form.

James Cole94c31ad747b3
diff --git a/app/Repositories/Account/AccountRepository.php b/app/Repositories/Account/AccountRepository.php
index 06f6aef7aa..f00974fd23 100644
--- a/app/Repositories/Account/AccountRepository.php
+++ b/app/Repositories/Account/AccountRepository.php
@@ -568,6 +568,7 @@ class AccountRepository implements AccountRepositoryInterface
$dbQuery = $this->user->accounts()
->where('active', 1)
->orderBy('accounts.order', 'ASC')
+ ->orderBy('accounts.account_type_id', 'ASC')
->orderBy('accounts.name', 'ASC')
->with(['accountType']);
if ('' !== $query) {