mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Fix order for bills.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user