From 31015af1df83bb35494b53a07fb0c75f1589c533 Mon Sep 17 00:00:00 2001 From: ibarral18 Date: Thu, 1 Apr 2021 17:11:48 -0400 Subject: [PATCH] fixing an error with totals and more than 2 attr. --- src/Utilities.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Utilities.js b/src/Utilities.js index 15dfac4..863901f 100644 --- a/src/Utilities.js +++ b/src/Utilities.js @@ -581,6 +581,9 @@ class PivotData { } for (const k in criteria) { const v = criteria[k]; + if (v === undefined){ + continue; + } if (v !== (k in record ? record[k] : 'null')) { return; }