mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-08 07:03:23 -06:00
Fix order for bills.
This commit is contained in:
parent
8db9641480
commit
ab80803f0f
@ -116,7 +116,7 @@ class BillRepository implements BillRepositoryInterface
|
||||
$set = $set->sortBy(
|
||||
function (Bill $bill) {
|
||||
|
||||
$int = $bill->active === 1 ? 0 : 1;
|
||||
$int = $bill->active ? 0 : 1;
|
||||
|
||||
return $int . strtolower($bill->name);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user