mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-02 05:02:18 +08:00
Fix repository export in export all [SCI-6907]
This commit is contained in:
parent
bb067974b4
commit
9df833111d
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ class TeamZipExport < ZipExport
|
|||
end
|
||||
|
||||
# Generate CSV
|
||||
csv_data = RepositoryZipExport.to_csv(repo.repository_rows, col_ids, @user, @team, handle_name_func)
|
||||
csv_data = RepositoryZipExport.to_csv(repo.repository_rows, col_ids, @user, repo, handle_name_func)
|
||||
File.open(csv_file, 'wb') { |f| f.write(csv_data) }
|
||||
|
||||
# Save all attachments (it doesn't work directly in callback function
|
||||
|
|
Loading…
Reference in a new issue