Merge pull request #7689 from artoscinote/ma_SCI_10856

Fix archived on in xlsx repository export [SCI-10856]
This commit is contained in:
Martin Artnik 2024-07-09 15:49:38 +02:00 committed by GitHub
commit eab9acbc94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,7 +45,7 @@ module RepositoryXlsxExport
when -9
row_data << (row.archived? && row.archived_by.present? ? row.archived_by.full_name : '')
when -10
row_data << (row.archived? && row.archived_on)
row_data << row.archived_on
when -11
row_data << row.parent_repository_rows.map(&:code).join(' | ')
row_data << row.child_repository_rows.map(&:code).join(' | ')