Skip to content

Commit

Permalink
🐛 Fix misspelling on creator
Browse files Browse the repository at this point in the history
  • Loading branch information
laritakr committed Oct 31, 2023
1 parent d1805bf commit 26eab8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/indexers/app_indexer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ class AppIndexer < Hyrax::WorkIndexer
def generate_solr_document
super.tap do |solr_doc|
solr_doc['title_ssi'] = SortTitle.new(object.title.first).alphabetical
solr_doc['depositer_ssi'] = object.depositor
solr_doc['depositor_ssi'] = object.depositor
debugger
solr_doc['creator_ssi'] = object.creator&.first
solr_doc['bulkrax_identifier_tesim'] = object.bulkrax_identifier
solr_doc['account_cname_tesim'] = Site.instance&.account&.cname
Expand Down
3 changes: 2 additions & 1 deletion app/indexers/collection_indexer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ def generate_solr_document
super.tap do |solr_doc|
solr_doc['bulkrax_identifier_tesim'] = object.bulkrax_identifier
solr_doc['title_ssi'] = SortTitle.new(object.title.first).alphabetical
solr_doc['depositer_ssi'] = object.depositor
debugger
solr_doc['depositor_ssi'] = object.depositor
solr_doc['creator_ssi'] = object.creator&.first
solr_doc["account_cname_tesim"] = Site.instance&.account&.cname
end
Expand Down

0 comments on commit 26eab8e

Please sign in to comment.