Sha256: 6a7ef3ea76837b26fbd791110eea19fc2aab731b3056f918e7db16eb7631e4d6

Contents?: true

Size: 715 Bytes

Versions: 23

Compression:

Stored size: 715 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", :page => nil), :class => "more_facets_link") %></li>
  <% end %>

</ul>

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
blacklight-4.8.0 app/views/catalog/_facet_limit.html.erb
blacklight-4.7.0 app/views/catalog/_facet_limit.html.erb
blacklight-4.7.0.pre1 app/views/catalog/_facet_limit.html.erb
blacklight-4.6.3 app/views/catalog/_facet_limit.html.erb
blacklight-4.6.2 app/views/catalog/_facet_limit.html.erb
blacklight-4.6.1 app/views/catalog/_facet_limit.html.erb
blacklight-4.6.0 app/views/catalog/_facet_limit.html.erb
blacklight-4.5.0 app/views/catalog/_facet_limit.html.erb
blacklight-4.5.0.rc1 app/views/catalog/_facet_limit.html.erb
blacklight-4.4.2 app/views/catalog/_facet_limit.html.erb
blacklight-4.4.1 app/views/catalog/_facet_limit.html.erb
blacklight-4.4.0 app/views/catalog/_facet_limit.html.erb
blacklight-4.3.0 app/views/catalog/_facet_limit.html.erb
blacklight-4.2.2 app/views/catalog/_facet_limit.html.erb
blacklight-4.2.1 app/views/catalog/_facet_limit.html.erb
blacklight-4.2.0 app/views/catalog/_facet_limit.html.erb
blacklight-4.1.0 app/views/catalog/_facet_limit.html.erb
blacklight-4.0.1 app/views/catalog/_facet_limit.html.erb
blacklight-4.0.0 app/views/catalog/_facet_limit.html.erb
blacklight-4.0.0.rc2 app/views/catalog/_facet_limit.html.erb