michellethomas opened a new issue, #19631: URL: https://github.com/apache/superset/issues/19631
When I create a filter box filter with only a time grain dropdown, I am unable to configure the filter scopes when added to a dashboard. If the filter box has time grain and time range filters, it works. There is a frontend error when trying to set the filter scope for time grain only filter because the filterKey only includes the chart_id, it does not include the column that is expected in `getChartIdAndColumnFromFilterKey`. I'm not sure where that information should be coming from or why it is not correctly added. Maybe someone who knows more about the dashboard filters can take a look. #### How to reproduce the bug 1. Create a filter box chart 2. Select "Show time grain dropdown" 3. Add the filter to your dashboard 4. Try to configure the filter scope and select the filter box chart to scope 5. See error in the console ### Expected results Checked filter box to scope filters ### Actual results Nothing happens, error in console  The filterKey is just the chart_id, it does not include the column that is expected in `getChartIdAndColumnFromFilterKey`. I'm not sure why the filterKey is not getting created correctly to include the column information. When I also add the time_range filter, this issue does not happen, only when time_grain is added on its own. ### Environment I'm a few weeks behind master ### Checklist Make sure to follow these steps before submitting your issue - thank you! - [x] I have checked the superset logs for python stacktraces and included it here as text if there are any. - [ ] I have reproduced the issue with at least the latest released version of superset. - [x] I have checked the issue tracker for the same issue and I haven't found one similar. ### Additional context Add any other context about the problem here. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
