Sha256: 173d79b5dae991de1f4f7e99aaa33fb4d551844682663bfd9945e615a0a4593e

Contents?: true

Size: 660 Bytes

Versions: 4

Compression:

Stored size: 660 Bytes

Contents

<% if show_sort_and_per_page? and active_sort_fields.many? %>
<div id="sort-dropdown" class="sort-dropdown btn-group">
  <button type="button" class="btn btn-outline-secondary dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
      <%= t('blacklight.search.sort.label_html', :field =>sort_field_label(current_sort_field.key)) %> <span class="caret"></span>
  </button>

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blacklight-7.4.1 app/views/catalog/_sort_widget.html.erb
blacklight-7.4.0 app/views/catalog/_sort_widget.html.erb
blacklight-7.3.0 app/views/catalog/_sort_widget.html.erb
blacklight-7.2.0 app/views/catalog/_sort_widget.html.erb