diff --git a/app/services/report_actions/report_content.rb b/app/services/report_actions/report_content.rb index e5d0f3efa..8ca49db4f 100644 --- a/app/services/report_actions/report_content.rb +++ b/app/services/report_actions/report_content.rb @@ -82,7 +82,7 @@ module ReportActions my_module_element = save_element!({ 'my_module_id' => my_module.id }, :my_module, experiment_element) my_module.live_and_snapshot_repositories_list.each do |repository| - next unless @repositories.include?(repository.id) + next unless @repositories.include?(repository.parent_id || repository.id) save_element!( { 'my_module_id' => my_module.id, 'repository_id' => repository.id }, diff --git a/app/views/reports/wizard/_third_step.html.erb b/app/views/reports/wizard/_third_step.html.erb index 113dec882..5110f07c9 100644 --- a/app/views/reports/wizard/_third_step.html.erb +++ b/app/views/reports/wizard/_third_step.html.erb @@ -71,7 +71,7 @@ />