mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-25 06:51:08 +00:00
Sort accounts properly
This commit is contained in:
@@ -138,6 +138,9 @@ class HomeController extends Controller
|
|||||||
$accounts = $repository->getAccountsById($frontPage->data);
|
$accounts = $repository->getAccountsById($frontPage->data);
|
||||||
$today = today(config('app.timezone'));
|
$today = today(config('app.timezone'));
|
||||||
|
|
||||||
|
// sort frontpage accounts by order
|
||||||
|
$accounts = $accounts->sortBy('order');
|
||||||
|
|
||||||
Log::debug('Frontpage accounts are ', $frontPage->data);
|
Log::debug('Frontpage accounts are ', $frontPage->data);
|
||||||
|
|
||||||
/** @var BillRepositoryInterface $billRepository */
|
/** @var BillRepositoryInterface $billRepository */
|
||||||
|
Reference in New Issue
Block a user