Fix repository exports for snapshots of deleted repository rows [SCI-11346]

This commit is contained in:
Martin Artnik 2024-12-05 13:36:29 +01:00
parent c41b641af4
commit cb22d76183
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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