app/models/concerns/arclight/solr_document.rb in arclight-1.1.2 vs app/models/concerns/arclight/solr_document.rb in arclight-1.1.3
- old
+ new
@@ -6,9 +6,11 @@
module SolrDocument
extend ActiveSupport::Concern
included do
attribute :parent_ids, :array, 'parent_ids_ssim'
+ attribute :legacy_parent_ids, :array, 'parent_ssim'
+ Arclight.deprecation.deprecate_methods(self, legacy_parent_ids: 'Use `parent_ids` instead')
attribute :parent_labels, :array, 'parent_unittitles_ssm'
attribute :parent_levels, :array, 'parent_levels_ssm'
attribute :unitid, :string, 'unitid_ssm'
attribute :extent, :array, 'extent_ssm'
attribute :abstract, :string, 'abstract_html_tesm'