diff --git a/app/indexers/app_indexer.rb b/app/indexers/app_indexer.rb index e493fb830..f2426f8a3 100644 --- a/app/indexers/app_indexer.rb +++ b/app/indexers/app_indexer.rb @@ -13,7 +13,7 @@ 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 solr_doc['creator_ssi'] = object.creator&.first solr_doc['bulkrax_identifier_tesim'] = object.bulkrax_identifier solr_doc['account_cname_tesim'] = Site.instance&.account&.cname diff --git a/app/indexers/collection_indexer.rb b/app/indexers/collection_indexer.rb index c7881ad46..2fc874b24 100644 --- a/app/indexers/collection_indexer.rb +++ b/app/indexers/collection_indexer.rb @@ -10,7 +10,7 @@ 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 + solr_doc['depositor_ssi'] = object.depositor solr_doc['creator_ssi'] = object.creator&.first solr_doc["account_cname_tesim"] = Site.instance&.account&.cname end