Skip to content

Commit

Permalink
Caption handling fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitaeverywhere committed Nov 22, 2017
1 parent c58556c commit d98bb01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "LightPivotTable",
"author": "ZitRo",
"version": "1.8.5",
"version": "1.8.6",
"description": "A lightweight pivot table for MDX2JSON source for InterSystems Cache",
"main": "test/testServer.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion source/js/DataController.js
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ DataController.prototype.resetRawData = function () {
value: c[i].caption || ""
};
applyHeaderStyle(obj, hor);
dim1raw(a, c[i].children, arr.concat(obj), hor, level?++level:level, maxLevel);
dim1raw(a, c[i].children, arr.concat(obj), hor, level? level + 1 : level, maxLevel);
} else {
obj = {
group: groupNum,
Expand Down

0 comments on commit d98bb01

Please sign in to comment.