app/helpers/spotlight/application_helper.rb in blacklight-spotlight-0.12.1 vs app/helpers/spotlight/application_helper.rb in blacklight-spotlight-0.13.0
- old
+ new
@@ -58,10 +58,10 @@
##
# Helper to turn tag data into facets
def url_to_tag_facet(tag)
if current_exhibit
- search_action_url(add_facet_params(Spotlight::SolrDocument.solr_field_for_tagger(current_exhibit), tag, {}))
+ search_action_url(add_facet_params(blacklight_config.document_model.solr_field_for_tagger(current_exhibit), tag, {}))
else
search_action_url(q: tag)
end
end