mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Order accounts by name.
This commit is contained in:
@@ -110,7 +110,7 @@ class ReportQuery implements ReportQueryInterface
|
|||||||
*/
|
*/
|
||||||
public function getAllAccounts(Carbon $start, Carbon $end)
|
public function getAllAccounts(Carbon $start, Carbon $end)
|
||||||
{
|
{
|
||||||
$set = Auth::user()->accounts()
|
$set = Auth::user()->accounts()->orderBy('accounts.name','ASC')
|
||||||
->accountTypeIn(['Default account', 'Asset account', 'Cash account'])
|
->accountTypeIn(['Default account', 'Asset account', 'Cash account'])
|
||||||
->leftJoin(
|
->leftJoin(
|
||||||
'account_meta', function (JoinClause $join) {
|
'account_meta', function (JoinClause $join) {
|
||||||
|
|||||||
Reference in New Issue
Block a user