@datarailsshared/dr_renderer 1.2.71 → 1.2.72

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarailsshared/dr_renderer",
3
- "version": "1.2.71",
3
+ "version": "1.2.72",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -146,7 +146,7 @@ let initDRPivotTable = function($, window, document) {
146
146
  DRPivotData.prototype.processRecord = function(record, useTotalsCalculation) {
147
147
  if (useTotalsCalculation) {
148
148
  if (!this.notFirst) {
149
- this.keysLength = _.keys(record).length - 1;
149
+ this.keysLength = _.filter(_.keys(record), key => !['data_types', 'formats', 'values_formats'].includes(key)).length - 1;
150
150
  this.notFirst = true;
151
151
  }
152
152
  let getRowAggregator = (function(_this) {