From 325944d92b9ff54344acb8715706ed9b9a5a67ed Mon Sep 17 00:00:00 2001 From: Caio <117518+caiosba@users.noreply.github.com> Date: Mon, 2 Sep 2024 23:36:01 -0300 Subject: [PATCH] Ticket CV2-5067: Do not use cached values in data export --- lib/check_search.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/check_search.rb b/lib/check_search.rb index 126b37168..ce8746209 100644 --- a/lib/check_search.rb +++ b/lib/check_search.rb @@ -357,8 +357,8 @@ def self.get_exported_data(query, team_id) pm.author_name.to_s.gsub(/ \[.*\]$/, ''), pm.created_at.strftime("%Y-%m-%d %H:%M:%S"), pm.published_at&.strftime("%Y-%m-%d %H:%M:%S"), - pm.linked_items_count(true), - pm.tags_as_sentence(true) + pm.linked_items_count, + pm.tags_as_sentence ] annotations = pm.get_annotations('task').map(&:load) fields.each do |field|