Fix the zoom-in.timeseries drill for multi-stage queries (#50970) (#51118)
* Fix the zoom-in.timeseries drill for multi-stage queries If no dimensions are provided to the zoom-in.timeseries drill, then attempt to find the matching dimension from the FE-provided row data instead, if present. Related to https://github.com/metabase/metabase/issues/46932 * Only return zoom-in.timeseries drills for clicks on aggregated columns Co-authored-by:appleby <86076+appleby@users.noreply.github.com>
Showing
- src/metabase/lib/drill_thru/common.cljc 33 additions, 0 deletionssrc/metabase/lib/drill_thru/common.cljc
- src/metabase/lib/drill_thru/zoom_in_timeseries.cljc 40 additions, 23 deletionssrc/metabase/lib/drill_thru/zoom_in_timeseries.cljc
- src/metabase/lib/field.cljc 2 additions, 2 deletionssrc/metabase/lib/field.cljc
- src/metabase/lib/underlying.cljc 36 additions, 16 deletionssrc/metabase/lib/underlying.cljc
- test/metabase/lib/drill_thru/zoom_in_timeseries_test.cljc 106 additions, 56 deletionstest/metabase/lib/drill_thru/zoom_in_timeseries_test.cljc
- test/metabase/lib/drill_thru_test.cljc 1 addition, 2 deletionstest/metabase/lib/drill_thru_test.cljc
Loading
Please register or sign in to comment