diff --git a/backend/model/spreadsheet_builder.rb b/backend/model/spreadsheet_builder.rb index 43bf4e1..985025a 100644 --- a/backend/model/spreadsheet_builder.rb +++ b/backend/model/spreadsheet_builder.rb @@ -157,8 +157,7 @@ class AccessionLookupColumn < StringColumn StringColumn.new(:archival_object, :lock_version, :header_label => "Version", :locked => true), StringColumn.new(:archival_object, :title, :width => 30), EnumColumn.new(:archival_object, :level, 'archival_record_level', :width => 15), - # ref_id is read only so removing for now - # StringColumn.new(:archival_object, :ref_id, :width => 15), + StringColumn.new(:archival_object, :ref_id, :width => 15, :locked => true), StringColumn.new(:archival_object, :component_id, :width => 15), StringColumn.new(:archival_object, :repository_processing_note, :width => 30), BooleanColumn.new(:archival_object, :publish), diff --git a/frontend/views/spreadsheet_bulk_updater/download_form.html.erb b/frontend/views/spreadsheet_bulk_updater/download_form.html.erb index db5c16b..b9aa357 100644 --- a/frontend/views/spreadsheet_bulk_updater/download_form.html.erb +++ b/frontend/views/spreadsheet_bulk_updater/download_form.html.erb @@ -40,6 +40,7 @@ [ ['update_select_level', 'archival_object.level'], ['update_select_component_id', 'archival_object.component_id'], + ['update_select_ref_id', 'archival_object.ref_id'], ['update_select_repository_processing_note', 'archival_object.repository_processing_note'], ['update_select_publish', 'archival_object.publish'], ['update_select_date', 'date._plural'],