From df30f2c1c81f511923a8d361ac3c084e01416dba Mon Sep 17 00:00:00 2001 From: Martin Artnik Date: Tue, 3 Dec 2024 17:35:06 +0100 Subject: [PATCH] Make SoftLockedRepository default columns the same as Repository [SCI-11148] --- app/helpers/repository_datatable_helper.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/helpers/repository_datatable_helper.rb b/app/helpers/repository_datatable_helper.rb index a1f4364d2..c0e11ccc9 100644 --- a/app/helpers/repository_datatable_helper.rb +++ b/app/helpers/repository_datatable_helper.rb @@ -245,8 +245,10 @@ module RepositoryDatatableHelper '4': "#{record.parent_connections_count || 0} / #{record.child_connections_count || 0}", '5': I18n.l(record.created_at, format: :full), '6': escape_input(record.created_by_full_name), - '7': (record.archived_on ? I18n.l(record.archived_on, format: :full) : ''), - '8': escape_input(record.archived_by_full_name) + '7': (record.updated_at ? I18n.l(record.updated_at, format: :full) : ''), + '8': escape_input(record.last_modified_by_full_name), + '9': (record.archived_on ? I18n.l(record.archived_on, format: :full) : ''), + '10': escape_input(record.archived_by_full_name) } end