Skip to content

Commit

Permalink
removes cuts from cart URLs if they are also a drilldown
Browse files Browse the repository at this point in the history
  • Loading branch information
davelandry committed Mar 21, 2019
1 parent 7ce2744 commit 47e7d16
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/components/Viz/Options.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ class Options extends Component {
}
}

params.drilldowns.forEach(drilldown => {
delete params[drilldown];
});

const groupBy = config.groupBy instanceof Array ? config.groupBy : [config.groupBy];
for (let i = 0; i < groupBy.length; i++) {
const group = groupBy[i];
Expand Down

0 comments on commit 47e7d16

Please sign in to comment.