mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-23 01:16:46 -06:00
Reverse sort in chart
This commit is contained in:
parent
83467ef2f2
commit
453709a117
@ -98,7 +98,7 @@ class FrontpageChartGenerator
|
||||
|
||||
// sort temp array by amount.
|
||||
$amounts = array_column($tempData, 'sum_float');
|
||||
array_multisort($amounts, SORT_DESC, $tempData);
|
||||
array_multisort($amounts, SORT_ASC, $tempData);
|
||||
|
||||
$currencyData = $this->createCurrencyGroups($tempData);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user