Sha256: fae6fe6440426b91c7d4a59d27ab8175ac690ebcdad9a44b90bd212bc729a8d0

Contents?: true

Size: 620 Bytes

Versions: 8

Compression:

Stored size: 620 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" aria-expanded="false">
      <%= t('blacklight.search.sort.label', :field =>sort_field_label(current_sort_field.key)) %> <span class="caret"></span>
  </button>

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
blacklight-6.21.0 app/views/catalog/_sort_widget.html.erb
blacklight-6.20.0 app/views/catalog/_sort_widget.html.erb
blacklight-6.19.2 app/views/catalog/_sort_widget.html.erb
blacklight-6.19.1 app/views/catalog/_sort_widget.html.erb
blacklight-6.19.0 app/views/catalog/_sort_widget.html.erb
blacklight-6.18.0 app/views/catalog/_sort_widget.html.erb
blacklight-6.17.0 app/views/catalog/_sort_widget.html.erb
blacklight-6.16.0 app/views/catalog/_sort_widget.html.erb