Sha256: 6cdfbccdcc1d046c3c3b884c3400b934e187bdf97100546b4ab9bf2f0000bb47

Contents?: true

Size: 576 Bytes

Versions: 27

Compression:

Stored size: 576 Bytes

Contents

<% if show_sort_and_per_page? and !active_sort_fields.blank? %>
<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

27 entries across 27 versions & 1 rubygems

Version Path
blacklight-6.10.1 app/views/catalog/_sort_widget.html.erb
blacklight-6.10.0 app/views/catalog/_sort_widget.html.erb
blacklight-6.9.0 app/views/catalog/_sort_widget.html.erb
blacklight-6.8.0 app/views/catalog/_sort_widget.html.erb
blacklight-6.7.3 app/views/catalog/_sort_widget.html.erb
blacklight-6.7.2 app/views/catalog/_sort_widget.html.erb
blacklight-6.7.1 app/views/catalog/_sort_widget.html.erb
blacklight-6.7.0 app/views/catalog/_sort_widget.html.erb
blacklight-6.6.2 app/views/catalog/_sort_widget.html.erb
blacklight-6.6.1 app/views/catalog/_sort_widget.html.erb
blacklight-6.6.0 app/views/catalog/_sort_widget.html.erb
blacklight-6.5.0 app/views/catalog/_sort_widget.html.erb
blacklight-6.4.2 app/views/catalog/_sort_widget.html.erb
blacklight-6.4.1 app/views/catalog/_sort_widget.html.erb
blacklight-6.4.0 app/views/catalog/_sort_widget.html.erb
blacklight-6.3.3 app/views/catalog/_sort_widget.html.erb
blacklight-6.3.1 app/views/catalog/_sort_widget.html.erb
blacklight-6.3.0 app/views/catalog/_sort_widget.html.erb
blacklight-6.2.0 app/views/catalog/_sort_widget.html.erb
blacklight-6.1.0 app/views/catalog/_sort_widget.html.erb