mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Sort account list.
This commit is contained in:
parent
23fc652092
commit
ad2aebb54d
@ -128,7 +128,7 @@ class AccountController extends Controller
|
|||||||
['accountmeta' => function ($query) {
|
['accountmeta' => function ($query) {
|
||||||
$query->where('name', 'accountRole');
|
$query->where('name', 'accountRole');
|
||||||
}]
|
}]
|
||||||
)->accountTypeIn($types)->take($size)->offset($offset)->get(['accounts.*']);
|
)->accountTypeIn($types)->take($size)->offset($offset)->orderBy('accounts.name','ASC')->get(['accounts.*']);
|
||||||
$total = Auth::user()->accounts()->accountTypeIn($types)->count();
|
$total = Auth::user()->accounts()->accountTypeIn($types)->count();
|
||||||
|
|
||||||
// last activity:
|
// last activity:
|
||||||
|
Loading…
Reference in New Issue
Block a user