Skip to content

Commit 7dba153

Browse files
fix drillthrough with one dimension
1 parent c3bc1ce commit 7dba153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/js/PivotView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ PivotView.prototype._cellClickHandler = function (x, y) {
178178
+ encodeURIComponent(this.controller.CONFIG["drillDownTarget"]) + "&SETTINGS=FILTER:"
179179
+ encodeURIComponent(f1 + "~" + f2) + ";";
180180
} else {
181-
this.controller.showDrillThrough([f1, f2]);
181+
this.controller.showDrillThrough(f2 ? [f1, f2] : [f1]);
182182
}
183183

184184
};

0 commit comments

Comments
 (0)