Skip to content

Commit

Permalink
bring back ref_id as a locked column
Browse files Browse the repository at this point in the history
  • Loading branch information
jambun committed Oct 13, 2021
1 parent 7b03599 commit 7c65f01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions backend/model/spreadsheet_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down

0 comments on commit 7c65f01

Please sign in to comment.