From 22908fe1390fdb59ef47b9ef1b816ee1edad2695 Mon Sep 17 00:00:00 2001 From: Andrej Date: Wed, 14 Feb 2024 11:50:35 +0100 Subject: [PATCH] Fix assigned repository export in project export [SCI-10193] --- 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