mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-02 09:54:37 +08:00
Merge pull request #6933 from sboursen-scinote/sb_SCI-9673-force-quotes
Force quoting of CSV fields for repository export [SCI-9673]
This commit is contained in:
commit
8476419ba1
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