Skip to content

Commit d9e4a4d

Browse files
committed
mysticfall#202: Fix error with drillthrough when changing the cube
1 parent d638307 commit d9e4a4d

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

pivot4j-analytics/src/main/java/org/pivot4j/analytics/ui/DrillThroughHandler.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,14 @@ public void update(Cell cell) {
7171
table.setFirst(0);
7272
}
7373

74+
public void reset() {
75+
data.reset();
76+
77+
this.cubeNode = null;
78+
this.selection = null;
79+
this.maximumRows = 0;
80+
}
81+
7482
/**
7583
* @return the cubeNode
7684
*/

pivot4j-analytics/src/main/java/org/pivot4j/analytics/ui/ViewHandler.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,8 @@ public void onCubeChange() {
358358
}
359359
}
360360
}
361+
362+
drillThroughHandler.reset();
361363
}
362364

363365
private String getDefaultMdx() {

0 commit comments

Comments
 (0)