mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix sort. [skip ci]
This commit is contained in:
@@ -63,7 +63,7 @@ class Expense
|
|||||||
*/
|
*/
|
||||||
public function getExpenses()
|
public function getExpenses()
|
||||||
{
|
{
|
||||||
$this->expenses->sortBy(
|
$this->expenses->sortByDesc(
|
||||||
function (stdClass $object) {
|
function (stdClass $object) {
|
||||||
return $object->amount;
|
return $object->amount;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user