mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Experimental sort routine for list of accounts [skip ci]
This commit is contained in:
parent
610af45dee
commit
f07d8e958f
@ -79,7 +79,7 @@ class IndexController extends Controller
|
||||
// sort collection:
|
||||
$collection = $collection->sortBy(
|
||||
function (Account $account) {
|
||||
return ($account->active ? '1' : '0') . $account->name;
|
||||
return ($account->active ? '0' : '1') . $account->name;
|
||||
}
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user