mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-03 12:47:17 -06:00
Reverse sort.
This commit is contained in:
parent
18eba02026
commit
4a2823bcba
@ -55,7 +55,7 @@ class Category
|
|||||||
*/
|
*/
|
||||||
public function getCategories()
|
public function getCategories()
|
||||||
{
|
{
|
||||||
$set = $this->categories->sortByDesc(
|
$set = $this->categories->sortBy(
|
||||||
function (CategoryModel $category) {
|
function (CategoryModel $category) {
|
||||||
return $category->spent;
|
return $category->spent;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user