@datarailsshared/dr_renderer 1.2.323-dragons → 1.2.325
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 +1 -1
- package/src/dr_pivottable.js +3 -3
- package/src/highcharts_renderer.js +238 -180
- package/src/pivottable.js +5 -17
- package/tests/highcharts_renderer.test.js +527 -0
- package/tests/mock/add-in-dynamic-ranges.json +133 -0
- package/tests/mock/add-in-functions.json +412 -0
- package/tests/mock/add-in-tables.json +347 -0
- package/tests/mock/widgets.json +411 -0
package/package.json
CHANGED
package/src/dr_pivottable.js
CHANGED
@@ -199,11 +199,10 @@ let initDRPivotTable = function($, window, document) {
|
|
199
199
|
let flatColKey = colKey.join(delim);
|
200
200
|
|
201
201
|
if (this.keysLength === rowKey.length + colKey.length) {
|
202
|
-
|
203
|
-
if ((!this.isKeysSortingDoneOnBackendSide || isDrValuesRows) && !this.rowKeys.some(rKey => rKey.join(delim) === flatRowKey)) {
|
202
|
+
if (!this.rowKeys.some(rKey => rKey.join(delim) === flatRowKey)) {
|
204
203
|
this.rowKeys.push(rowKey);
|
205
204
|
}
|
206
|
-
if (!this.
|
205
|
+
if (!this.colKeys.some(cKey => cKey.join(delim) === flatColKey)) {
|
207
206
|
this.colKeys.push(colKey);
|
208
207
|
}
|
209
208
|
}
|
@@ -235,6 +234,7 @@ let initDRPivotTable = function($, window, document) {
|
|
235
234
|
insight: insight,
|
236
235
|
});
|
237
236
|
}
|
237
|
+
|
238
238
|
return;
|
239
239
|
}
|
240
240
|
|