app/indexers/hyrax/pcdm_collection_indexer.rb in hyrax-3.6.0 vs app/indexers/hyrax/pcdm_collection_indexer.rb in hyrax-4.0.0.beta1

- old
+ new

@@ -14,10 +14,9 @@ def to_solr super.tap do |index_document| index_document[Hyrax.config.collection_type_index_field.to_sym] = Array(resource.try(:collection_type_gid)&.to_s) index_document[:generic_type_sim] = ['Collection'] - index_document[:member_of_collection_ids_ssim] = resource.member_of_collection_ids.map(&:to_s) index_document[:depositor_ssim] = [resource.depositor] index_document[:depositor_tesim] = [resource.depositor] end end end