Skip to content

Commit

Permalink
Deprecate SolrDocument#normalized_eadid in favor of collection_id (#1534
Browse files Browse the repository at this point in the history
)
  • Loading branch information
corylown authored May 8, 2024
1 parent 84cf041 commit d4f83a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/concerns/arclight/solr_document.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def eadid
def normalized_eadid
Arclight::NormalizedId.new(eadid).to_s
end
Arclight.deprecation.deprecate_methods(self, normalized_eadid: 'Use `collection_id` instead')

def repository
first('repository_ssm') || collection&.first('repository_ssm')
Expand Down

0 comments on commit d4f83a5

Please sign in to comment.