From d72862e25e09be805394de1efeb89c90867cc297 Mon Sep 17 00:00:00 2001 From: Andrej Date: Mon, 15 Jul 2024 09:56:18 +0200 Subject: [PATCH] Fix checklist importing [SCI-10854] --- app/models/repository_checklist_value.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/repository_checklist_value.rb b/app/models/repository_checklist_value.rb index ab5fde9f8..d40e6b17c 100644 --- a/app/models/repository_checklist_value.rb +++ b/app/models/repository_checklist_value.rb @@ -23,7 +23,7 @@ class RepositoryChecklistValue < ApplicationRecord def formatted(separator: ' | ') checklist_items = current_repository_checklist_items || repository_checklist_items - checklist_items.pluck(:data).join(separator) + checklist_items.map(&:data).join(separator) end def export_formatted