retornar aggregator en utilities

This commit is contained in:
dehernandezm 2025-02-11 15:30:47 -06:00
parent 45bdad3d8c
commit df604e3069
3 changed files with 4 additions and 2 deletions

View File

@ -879,6 +879,7 @@ var PivotData = function () {
} }
_resultAgg.sum = subTotalBruto; _resultAgg.sum = subTotalBruto;
_resultAgg.count = subTotalCount; _resultAgg.count = subTotalCount;
_resultAgg.format = function () {};
_resultAgg.value = function () { _resultAgg.value = function () {
if (_this5.props.aggregatorName === 'Conteo') { if (_this5.props.aggregatorName === 'Conteo') {
return subTotalCount; return subTotalCount;
@ -897,6 +898,7 @@ var PivotData = function () {
} }
return 0; return 0;
}; };
return _resultAgg;
} }
if (rowKey.length === 0 && colKey.length === 0) { if (rowKey.length === 0 && colKey.length === 0) {
agg = this.allTotal; agg = this.allTotal;

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{ {
"name": "v-react-pivottable", "name": "v-react-pivottable",
"version": "0.11.52", "version": "0.11.53",
"description": "A React-based pivot table", "description": "A React-based pivot table",
"main": "PivotTableUI.js", "main": "PivotTableUI.js",
"files": [ "files": [