Skip to content

Commit

Permalink
Fix index field name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
LaRita Robinson committed Oct 17, 2024
1 parent a8db0ad commit d357cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/indexers/concerns/hyrax/location_indexer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d357cc1

Please sign in to comment.