mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-10 13:59:56 +08:00
Merge pull request #7424 from G-Chubinidze/gc_SCI_10534
When exporting inventory items, do not convert smart annotation tags to text [SCI-10534]
This commit is contained in:
commit
f81d9185ca
2 changed files with 6 additions and 11 deletions
|
@ -63,10 +63,7 @@ module RepositoryCsvExport
|
|||
if cell.value_type == 'RepositoryAssetValue' && handle_file_name_func
|
||||
handle_file_name_func.call(cell.value.asset)
|
||||
else
|
||||
SmartAnnotations::TagToText.new(
|
||||
user, repository.team, cell.value.export_formatted
|
||||
).text
|
||||
end
|
||||
cell.value.export_formatted
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -64,9 +64,7 @@ module RepositoryXlsxExport
|
|||
if cell.value_type == 'RepositoryAssetValue' && handle_file_name_func
|
||||
handle_file_name_func.call(cell.value.asset)
|
||||
else
|
||||
SmartAnnotations::TagToText.new(
|
||||
user, repository.team, cell.value.export_formatted
|
||||
).text
|
||||
cell.value.export_formatted
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue