From d357cc1f542ecd23a9d2784cc430f2302e3d7cca Mon Sep 17 00:00:00 2001 From: LaRita Robinson Date: Thu, 17 Oct 2024 16:47:11 -0400 Subject: [PATCH] Fix index field name typo --- app/indexers/concerns/hyrax/location_indexer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/indexers/concerns/hyrax/location_indexer.rb b/app/indexers/concerns/hyrax/location_indexer.rb index ba5f286e2b..8bb9e9277a 100644 --- a/app/indexers/concerns/hyrax/location_indexer.rb +++ b/app/indexers/concerns/hyrax/location_indexer.rb @@ -6,7 +6,7 @@ module Hyrax module LocationIndexer def to_solr super.tap do |index_document| - index_document[:based_near_label_tesim] = index_document[:based_near_label_tesim] = based_near_label_lookup(resource.based_near) if resource.respond_to? :based_near + index_document[:based_near_label_tesim] = index_document[:based_near_label_sim] = based_near_label_lookup(resource.based_near) if resource.respond_to? :based_near end end