mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2026-02-19 02:34:02 +08:00
Force quoting of csv fields for repository export [SCI-9673]
This commit is contained in:
parent
a38c2457a9
commit
a55f79e4e4
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ module RepositoryZipExport
|
|||
end
|
||||
csv_header << I18n.t('repositories.table.row_consumption') if add_consumption
|
||||
|
||||
CSV.generate do |csv|
|
||||
CSV.generate(force_quotes: true) do |csv|
|
||||
csv << csv_header
|
||||
rows.each do |row|
|
||||
csv_row = []
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue