@datarailsshared/dr_renderer 1.2.378 → 1.2.379
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -8896,6 +8896,7 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
8896
8896
|
let datesFields = [];
|
8897
8897
|
datesFields = lodash.filter(widget.rows, element => element.type == 'Date');
|
8898
8898
|
datesFields = datesFields.concat(lodash.filter(widget.cols, element => element.type == 'Date'));
|
8899
|
+
datesFields = lodash.cloneDeep(datesFields);
|
8899
8900
|
|
8900
8901
|
const isCustomSorting = widget.options.sortingFields && Array.isArray(widget.options.sortingFields) && widget.options.sortingFields.length > 0;
|
8901
8902
|
if (isCustomSorting) {
|
@@ -8991,7 +8992,7 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
8991
8992
|
|
8992
8993
|
/* date string */
|
8993
8994
|
var rowsAndCols = [];
|
8994
|
-
rowsAndCols = widget.rows.concat(widget.cols);
|
8995
|
+
rowsAndCols = lodash.cloneDeep(widget.rows.concat(widget.cols));
|
8995
8996
|
|
8996
8997
|
if (widget.chart_type === highchartsRenderer.CHART_TYPES.WATERFALL_BREAKDOWN && !highchartsRenderer.sortHasBeenDoneOnBE(lodash.get(widget, 'pivot.keysObject'))) {
|
8997
8998
|
|