Skip to content

Commit d98bb01

Browse files
Caption handling fix
1 parent c58556c commit d98bb01

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "LightPivotTable",
33
"author": "ZitRo",
4-
"version": "1.8.5",
4+
"version": "1.8.6",
55
"description": "A lightweight pivot table for MDX2JSON source for InterSystems Cache",
66
"main": "test/testServer.js",
77
"repository": {

source/js/DataController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ DataController.prototype.resetRawData = function () {
474474
value: c[i].caption || ""
475475
};
476476
applyHeaderStyle(obj, hor);
477-
dim1raw(a, c[i].children, arr.concat(obj), hor, level?++level:level, maxLevel);
477+
dim1raw(a, c[i].children, arr.concat(obj), hor, level? level + 1 : level, maxLevel);
478478
} else {
479479
obj = {
480480
group: groupNum,

0 commit comments

Comments
 (0)