Sha256: 463603c57c90f00dc339dc126047d354ba322163b25d44eb75187b690d139b2a

Contents?: true

Size: 574 Bytes

Versions: 4

Compression:

Stored size: 574 Bytes

Contents

<% if show_sort_and_per_page? and active_sort_fields.many? %>
<div id="sort-dropdown" class="btn-group">
  <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
      <%= t('blacklight.search.sort.label', :field =>current_sort_field.label) %> <span class="caret"></span>
  </button>

  <ul class="dropdown-menu" role="menu">
      <%- active_sort_fields.each do |sort_key, field_config| %>
        <li><%= link_to(field_config.label, url_for(search_state.params_for_search(sort: sort_key))) %></li>
      <%- end -%>
  </ul>
</div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blacklight-6.12.0 app/views/catalog/_sort_widget.html.erb
blacklight-6.11.2 app/views/catalog/_sort_widget.html.erb
blacklight-6.11.1 app/views/catalog/_sort_widget.html.erb
blacklight-6.11.0 app/views/catalog/_sort_widget.html.erb