mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 02:57:45 +00:00
Fix sort [skip ci]
This commit is contained in:
@@ -137,7 +137,7 @@ class CategoryController extends Controller
|
||||
$sum[$categoryId] = floatval($row['spent']);
|
||||
}
|
||||
|
||||
array_multisort($sum, SORT_DESC, $report);
|
||||
array_multisort($sum, SORT_ASC, $report);
|
||||
|
||||
$result = view('reports.partials.categories', compact('report'))->render();
|
||||
$cache->store($result);
|
||||
|
Reference in New Issue
Block a user