mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-13 07:53:16 +00:00
Reverse chart sort
This commit is contained in:
@@ -530,7 +530,7 @@ class AccountController extends Controller
|
|||||||
|
|
||||||
// sort temp array by amount.
|
// sort temp array by amount.
|
||||||
$amounts = array_column($tempData, 'diff_float');
|
$amounts = array_column($tempData, 'diff_float');
|
||||||
array_multisort($amounts, SORT_DESC, $tempData);
|
array_multisort($amounts, SORT_ASC, $tempData);
|
||||||
|
|
||||||
// loop all found currencies and build the data array for the chart.
|
// loop all found currencies and build the data array for the chart.
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user