mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 08:35:00 +00:00
Experimental sort routine for list of accounts [skip ci]
This commit is contained in:
@@ -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;
|
||||
}
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user