Sha256: 7c36ea009a1c84d06c6afe54278399ae5b7ce87b2a4f66902f15a191116f2901

Contents?: true

Size: 701 Bytes

Versions: 9

Compression:

Stored size: 701 Bytes

Contents

<ul>
  <% paginator =    
      Blacklight::Solr::FacetPaginator.new(display_facet.items,        
        :limit => facet_limit_for(solr_field))
  %>
  <% paginator.items.each do |item| -%>
    <li>
    <% if facet_in_params?( solr_field, item.value ) %>              
        <%= render_selected_facet_value(solr_field, item) %>              
      <% else %>              
        <%= render_facet_value(solr_field, item) %>              
    <% end -%>
    </li>
  <% end %>

  <% if(paginator.has_next?)  %>
    <li class="more_facets_link"><%= link_to(t('blacklight.search.facets.more'), params.merge(:id => solr_field, :action=>"facet"), :class => "more_facets_link") %></li>
  <% end %>

</ul>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
blacklight-3.8.2 app/views/catalog/_facet_limit.html.erb
blacklight-3.8.1 app/views/catalog/_facet_limit.html.erb
blacklight-3.8.0 app/views/catalog/_facet_limit.html.erb
blacklight-3.7.2 app/views/catalog/_facet_limit.html.erb
blacklight-3.7.1 app/views/catalog/_facet_limit.html.erb
blacklight-3.7.0 app/views/catalog/_facet_limit.html.erb
blacklight-3.6.1.1 app/views/catalog/_facet_limit.html.erb
blacklight-3.6.0 app/views/catalog/_facet_limit.html.erb
blacklight-3.5.0 app/views/catalog/_facet_limit.html.erb