From b14912e70e5bd5190a5068782e558923ec42bba3 Mon Sep 17 00:00:00 2001 From: ajugo Date: Thu, 15 Feb 2024 11:33:23 +0100 Subject: [PATCH] Fix assigned repository export in project export [SCI-10193] (#7087) --- app/models/report.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/report.rb b/app/models/report.rb index 38cc222d0..5f5ff7fb7 100644 --- a/app/models/report.rb +++ b/app/models/report.rb @@ -131,6 +131,7 @@ class Report < ApplicationRecord report.user = current_user report.team = current_team report.last_modified_by = current_user + report.settings[:task][:repositories] = content['repositories'] ReportActions::ReportContent.new(report, content, {}, current_user).save_with_content report end