rusackas commented on code in PR #40140:
URL: https://github.com/apache/superset/pull/40140#discussion_r3276394163
##########
superset/commands/dashboard/importers/v1/utils.py:
##########
@@ -212,6 +229,11 @@ def update_cross_filter_scoping(
if old_id in id_map
]
+ # Cross-filter chartsInScope mirrors the native-filter case.
+ cross_filters = chart_config.get("crossFilters")
+ if isinstance(cross_filters, dict):
+ _remap_charts_in_scope(cross_filters, id_map)
Review Comment:
Good catch — fixed in 994834c193. Routed
`global_chart_configuration.chartsInScope` through the same
`_remap_charts_in_scope` helper, and added
`test_update_id_refs_remaps_global_chart_configuration_charts_in_scope` using
the same source-env fixture shape as the other two regression tests.
--
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]