We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 684c64b commit 77dfa3bCopy full SHA for 77dfa3b
lib/superset/services/duplicate_dashboard.rb
@@ -259,7 +259,7 @@ def source_dashboard_dataset_ids
259
end
260
261
def source_dashboard_filter_dataset_ids
262
- @filter_dataset_ids ||= Superset::Dashboard::Filters::List.new(id).perform
+ @filter_dataset_ids ||= source_dashboard.filter_configuration.map { |c| c['targets'] }.flatten.compact.map { |c| c['datasetId'] }.flatten.compact
263
264
265
# Primary Assumption is that all charts datasets on the source dashboard are pointing to the same database schema
0 commit comments