feat(dashboards): ensure global filters carryforward when clicking view span samples on table#103860
Conversation
There was a problem hiding this comment.
Bug: Missing widgetType parameter in multi-query filter application
The applyDashboardFilters call in _getWidgetExploreUrlForMultipleQueries is missing the widget.widgetType parameter. This causes global filters to not be properly filtered by dataset when navigating from widgets with multiple queries, unlike the single-query path which was correctly updated. The function should pass widget.widgetType as the third argument to ensure consistent filter behavior across both code paths.
static/app/views/dashboards/utils/getWidgetExploreUrl.tsx#L364-L365
sentry/static/app/views/dashboards/utils/getWidgetExploreUrl.tsx
Lines 364 to 365 in bf048c4
I don't think this applies to table queries |
When clicking

view span sampleson a table, we should also append theglobalFilterswhen we end up in exploreThere is existing logic to do so already here
sentry/static/app/views/dashboards/utils.tsx
Lines 615 to 622 in c45e912
We just had to pass in the
widgetTypeso the widget correctly filters out any non-applicable filters based on the dataset.