Sha256: a032d85105ed945a432983685cdfb5ebcfffb261cb28f8b87d4addb25c25de5b

Contents?: true

Size: 750 Bytes

Versions: 8

Compression:

Stored size: 750 Bytes

Contents

<ul class="facet-values list-unstyled">
  <% 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", :page => nil), :class => "more_facets_link") %></li>
  <% end %>

</ul>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
blacklight-5.0.3 app/views/catalog/_facet_limit.html.erb
blacklight-5.0.2 app/views/catalog/_facet_limit.html.erb
blacklight-5.0.1 app/views/catalog/_facet_limit.html.erb
blacklight-5.0.0 app/views/catalog/_facet_limit.html.erb
blacklight-5.0.0.pre4 app/views/catalog/_facet_limit.html.erb
blacklight-5.0.0.pre3 app/views/catalog/_facet_limit.html.erb
blacklight-5.0.0.pre2 app/views/catalog/_facet_limit.html.erb
blacklight-5.0.0.pre1 app/views/catalog/_facet_limit.html.erb