Sha256: 256a2798dea621a37d4c69dd5d87ff67eb4ff80b2d664a90e887eac5a583f8d5

Contents?: true

Size: 562 Bytes

Versions: 4

Compression:

Stored size: 562 Bytes

Contents

<% if show_sort_and_per_page? and !blacklight_config.sort_fields.blank? %>
<div id="sort-dropdown" class="dropdown pull-right hidden-phone">
  <ul class="css-dropdown">
    <li class="btn">
      <%= link_to(t('blacklight.search.sort.label', :field =>current_sort_field.label), "#") %> <span class="caret"></span>
      <ul>
        <%- blacklight_config.sort_fields.each do |sort_key, field| %>
          <li><%= link_to(field.label, url_for(params_for_search.merge(:sort => sort_key))) %></li>
        <%- end -%>
      </ul>
    </li>
  </ul>
</div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blacklight-4.0.1 app/views/catalog/_sort_widget.html.erb
blacklight-4.0.0 app/views/catalog/_sort_widget.html.erb
blacklight-4.0.0.rc2 app/views/catalog/_sort_widget.html.erb
blacklight-4.0.0.rc1 app/views/catalog/_sort_widget.html.erb