% # must pass in local variable :solr_field
%>
<% solr_range_queries_to_a(solr_field).each do |hash| %>
-
<%= link_to(
t('blacklight.range_limit.range_html',
begin: format_range_display_value(facet_display_value(solr_field, hash[:from]), solr_field),
begin_value: facet_display_value(solr_field, hash[:from]),
end: format_range_display_value(facet_display_value(solr_field, hash[:to]), solr_field),
end_value: facet_display_value(solr_field, hash[:to])),
search_action_url(add_range(solr_field, hash[:from], hash[:to]).except(:controller, :action)),
class: 'facet_select'
) %>
<%= render_facet_count hash[:count], classes: ['count'] %>
<% end %>