mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fixed sort commands [skip ci]
This commit is contained in:
@@ -40,7 +40,7 @@ class Bill
|
||||
*/
|
||||
public function getBills()
|
||||
{
|
||||
$this->bills->sortBy(
|
||||
$set = $this->bills->sortBy(
|
||||
function (BillLine $bill) {
|
||||
$active = intval($bill->getBill()->active) == 0 ? 1 : 0;
|
||||
$name = $bill->getBill()->name;
|
||||
@@ -50,7 +50,7 @@ class Bill
|
||||
);
|
||||
|
||||
|
||||
return $this->bills;
|
||||
return $set;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user