Sha256: ddb1794a4f9dbbf262f50590fa1be19227d545623d2695ff72cd2e0ca51f9e1d

Contents?: true

Size: 557 Bytes

Versions: 7

Compression:

Stored size: 557 Bytes

Contents

<% Deprecation.warn(BlacklightRangeLimit, 'The blacklight_range_limit/range_segments partial is deprecated. Render the RangeSegmentsComponent directly.') %>

<%
  facet = blacklight_config.facet_fields[solr_field]
  display_facet = @response.aggregations[facet.field] || Blacklight::Solr::Response::Facets::FacetField.new(facet.key, [], response: @response)
  presenter = (facet.presenter || BlacklightRangeLimit::FacetFieldPresenter).new(facet, display_facet, self)
%>
<%= render BlacklightRangeLimit::RangeSegmentsComponent.new(facet_field: presenter) %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
blacklight_range_limit-8.5.0 app/views/blacklight_range_limit/_range_segments.html.erb
blacklight_range_limit-8.4.0 app/views/blacklight_range_limit/_range_segments.html.erb
blacklight_range_limit-8.3.0 app/views/blacklight_range_limit/_range_segments.html.erb
blacklight_range_limit-8.2.3 app/views/blacklight_range_limit/_range_segments.html.erb
blacklight_range_limit-8.2.2 app/views/blacklight_range_limit/_range_segments.html.erb
blacklight_range_limit-8.2.1 app/views/blacklight_range_limit/_range_segments.html.erb
blacklight_range_limit-8.2.0 app/views/blacklight_range_limit/_range_segments.html.erb