You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The Explore Results feature doesn't use the Custom Filter Widget value when Exploring Results of a native script using variables. It always uses the default value set in the question which confuses end user and seems wrong.
Logs
N/A
To Reproduce
Steps to reproduce the behavior:
Go to "Ask Question" and start a "Native Query"
Pick a database
Enter SELECT {{custom_or_default_date}} in native SQL box
Configure variables:
Set Variable type = Date
Set Required = Yes
Set default widget value = January 6, 2022
Save
If you explore the results now you would expect it to show 2022-01-06 00:00:00
Expected behavior
It should return 2022-01-14 00:00:00 as the URL parameter/Custom filter should always over ride the initial default widget value.
Screenshots
If applicable, add screenshots to help explain your problem.
Information about your Metabase Installation:
You can get this information by going to Admin -> Troubleshooting.
Your browser and the version: Chrome
Your operating system: Mac Monterwy
Your databases: MySQL
Metabase version: Metabase 0.41.5
Metabase hosting environment: (K8s)
Metabase internal database: Postgres
Severity
How severe an issue is this bug to you? Is this annoying, blocking some users, blocking an upgrade or blocking your usage of Metabase entirely?
Annoying
It is annoying as the new Explore Results feature is ace but this makes it less useful and risky to leave in the hands of the less attentive users who explore and export results from Native SQL stored questions
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
The Explore Results feature doesn't use the Custom Filter Widget value when Exploring Results of a native script using variables. It always uses the default value set in the question which confuses end user and seems wrong.
Logs
N/A
To Reproduce
Steps to reproduce the behavior:
SELECT {{custom_or_default_date}}
in native SQL boxSet Variable type = Date
Set Required = Yes
Set default widget value = January 6, 2022
Save
the URL updates to: https://metabase.eng.lendinvestinternal.com/question?custom_or_default_date=2022-01-14#eyJkYXRhc2V...
but the results still return 2022-01-06 00:00:00
Expected behavior
It should return 2022-01-14 00:00:00 as the URL parameter/Custom filter should always over ride the initial default widget value.
Screenshots
If applicable, add screenshots to help explain your problem.
Information about your Metabase Installation:
You can get this information by going to Admin -> Troubleshooting.
Severity
How severe an issue is this bug to you? Is this annoying, blocking some users, blocking an upgrade or blocking your usage of Metabase entirely?
Annoying
It is annoying as the new Explore Results feature is ace but this makes it less useful and risky to leave in the hands of the less attentive users who explore and export results from Native SQL stored questions
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: