Skip to content

Commit 5ccf32a

Browse files
empty children returned by MDX2JSON wrong parse fix
1 parent d7ee4ed commit 5ccf32a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "LightPivotTable",
33
"author": "ZitRo",
4-
"version": "1.0.0-beta.17",
4+
"version": "1.0.0-beta.18",
55
"description": "A lightweight pivot table for MDX2JSON source for InterSystems Cache",
66
"main": "test/testServer.js",
77
"repository": {

source/js/DataController.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ DataController.prototype.resetRawData = function () {
344344

345345
for (var i in c) {
346346
cnum = groupNum;
347-
if (c[i].children) {
347+
if (c[i].children && c[i].children) {
348348
groupNum++;
349349
obj = {
350350
group: cnum,

0 commit comments

Comments
 (0)