Version 4.7.23

This commit is contained in:
Neo committed 2025-12-19 16:21:27 -08:00
1 parent 7124a02564
commit 25ddeb65d6
1791 files changed
+76990 -44452

No files matched your search

+14 -1
View File
@@ -124,7 +124,20 @@ abstract class _Chart
$extension = static::loadFromController( $data['chart_controller'] );
$chart = $extension->getChart( $url );
$chart->currentFilters = json_decode( $data['chart_configuration'], true );
$currentFilters = array();
foreach( json_decode( $data['chart_configuration'], true ) AS $k => $v )
{
if ( mb_substr( $k, 0, 11 ) == 'customform_' )
{
$currentFilters[ mb_substr( $k, 11 ) ] = $v;
}
else
{
$currentFilters[ $k ] = $v;
}
}
$chart->savedCustomFilters = $currentFilters;
$chart->timescale = $data['chart_timescale'] ?? $chart->timescale;
$chart->title = $data['chart_title'];
$chart->showFilterTabs = FALSE;