-
- Downloads
Fixing aggregate dropdowns in dashboard filters (#35754)
The `values-from-card-query` constructs a new query to determine enumerable values for filter drop-downs in dashboards. It does this by generating a simple query from the passed in query with the filtered value as a query filter. This query didn't know about expressions which the filter might use. The fix was to just add in the expressions from the base query. Fixes #12985
Showing
- src/metabase/api/dashboard.clj 1 addition, 0 deletionssrc/metabase/api/dashboard.clj
- src/metabase/models/params/custom_values.clj 7 additions, 4 deletionssrc/metabase/models/params/custom_values.clj
- test/metabase/api/dashboard_test.clj 39 additions, 0 deletionstest/metabase/api/dashboard_test.clj
Loading
Please register or sign in to comment