mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-27 23:45:52 +08:00
Merge pull request #8089 from artoscinote/ma_SCI_11346
Fix repository exports for snapshots of deleted repository rows [SCI-11346]
This commit is contained in:
commit
fd0bdce85c
2 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ class RepositoryCsvExport
|
|||
when -1, -2
|
||||
next
|
||||
when -3
|
||||
csv_row << (repository.is_a?(RepositorySnapshot) ? row.parent.code : row.code)
|
||||
csv_row << row.code
|
||||
when -4
|
||||
csv_row << row.name
|
||||
when -5
|
||||
|
|
|
@ -109,7 +109,7 @@ class RepositoryXlsxExport
|
|||
when -1, -2
|
||||
next
|
||||
when -3
|
||||
row_data << (repository.is_a?(RepositorySnapshot) ? row.parent.code : row.code)
|
||||
row_data << row.code
|
||||
when -4
|
||||
row_data << row.name
|
||||
when -5
|
||||
|
|
Loading…
Add table
Reference in a new issue