Skip to content

Commit

Permalink
Merge pull request #5965 from avalonmediasystem/cjcolvar-patch-3
Browse files Browse the repository at this point in the history
Ensure single value for statement of responsibility matching solr field
  • Loading branch information
cjcolvar authored Jul 31, 2024
2 parents 71b03a4 + 830a5dd commit 26c65b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/mods_behaviors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def to_solr(solr_doc = Hash.new, opts = {})
solr_doc['other_identifier_sim'] = gather_terms(self.find_by_terms(:other_identifier))
solr_doc['bibliographic_id_ssi'] = self.bibliographic_id.first
solr_doc['bibliographic_id_source_ssi'] = self.bibliographic_id.source.first
solr_doc['statement_of_responsibility_ssi'] = gather_terms(self.find_by_terms(:statement_of_responsibility))
solr_doc['statement_of_responsibility_ssi'] = gather_terms(self.find_by_terms(:statement_of_responsibility)).first
solr_doc['record_identifier_ssim'] = gather_terms(self.find_by_terms(:record_identifier))

# Extract 4-digit year for creation date facet in Hydra and pub_date facet in Blacklight
Expand Down

0 comments on commit 26c65b4

Please sign in to comment.