diff --git a/app/indexers/app_indexer.rb b/app/indexers/app_indexer.rb index e493fb830..c5d545131 100644 --- a/app/indexers/app_indexer.rb +++ b/app/indexers/app_indexer.rb @@ -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 diff --git a/app/indexers/collection_indexer.rb b/app/indexers/collection_indexer.rb index c7881ad46..c2fefe521 100644 --- a/app/indexers/collection_indexer.rb +++ b/app/indexers/collection_indexer.rb @@ -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