-
- Downloads
Handle multiple date filters for the same template tag (#38070)
This regressed in 48 - it only works when either none of the several filters has a value, or when all of them do. This PR restores the 47 behavior: whatever subset of the filters have values (including defaults) will be used, and the others are ignored. The fix is on the BE but the change actually occurred in the FE - previously only those parameters with values were sent in the request. We might want that FE behavior back, but the new BE logic should work either way. Fixes #38012.
Showing
- src/metabase/driver/common/parameters/values.clj 3 additions, 3 deletionssrc/metabase/driver/common/parameters/values.clj
- src/metabase/lib/schema/template_tag.cljc 1 addition, 1 deletionsrc/metabase/lib/schema/template_tag.cljc
- src/metabase/mbql/schema.cljc 1 addition, 1 deletionsrc/metabase/mbql/schema.cljc
- test/metabase/driver/common/parameters/values_test.clj 75 additions, 0 deletionstest/metabase/driver/common/parameters/values_test.clj
Please register or sign in to comment