Sha256: 9d300472fc731124b0fafaa676b91dabddbef5ee74151eafb378b1c8c3e7af96

Contents?: true

Size: 700 Bytes

Versions: 6

Compression:

Stored size: 700 Bytes

Contents

<ul class="facet-values list-unstyled">
  <% paginator = facet_paginator(facet_field, display_facet)
  %>
  <% 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? and params[:action] != "facet" %>
    <li class="more_facets_link"><%= link_to(t('blacklight.search.facets.more'), params.merge(:id => solr_field, :action=>"facet", :page => nil), :class => "more_facets_link") %></li>
  <% end %>

</ul>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
blacklight-5.4.0 app/views/catalog/_facet_limit.html.erb
blacklight-5.4.0.rc1 app/views/catalog/_facet_limit.html.erb
blacklight-5.3.0 app/views/catalog/_facet_limit.html.erb
blacklight-5.1.1 app/views/catalog/_facet_limit.html.erb
blacklight-5.2.0 app/views/catalog/_facet_limit.html.erb
blacklight-5.1.0 app/views/catalog/_facet_limit.html.erb