mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-03 12:47:17 -06:00
Fix sorting.
This commit is contained in:
parent
c38ae09735
commit
938581527e
@ -65,7 +65,7 @@ class Expense
|
|||||||
*/
|
*/
|
||||||
public function getExpenses()
|
public function getExpenses()
|
||||||
{
|
{
|
||||||
$set = $this->expenses->sortByDesc(
|
$set = $this->expenses->sortBy(
|
||||||
function (stdClass $object) {
|
function (stdClass $object) {
|
||||||
return $object->amount;
|
return $object->amount;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user