Sha256: aec27969a574832d6be634cc39ea3fe10ccd02a26ca8ae6e6d87a242570c510e

Contents?: true

Size: 580 Bytes

Versions: 10

Compression:

Stored size: 580 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">
      <%= link_to(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(params_for_search(:sort => sort_key))) %></li>
      <%- end -%>
  </ul>
</div>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
blacklight-5.7.2 app/views/catalog/_sort_widget.html.erb
blacklight-5.5.4 app/views/catalog/_sort_widget.html.erb
blacklight-5.7.1 app/views/catalog/_sort_widget.html.erb
blacklight-5.7.0 app/views/catalog/_sort_widget.html.erb
blacklight-5.6.0 app/views/catalog/_sort_widget.html.erb
blacklight-5.5.3 app/views/catalog/_sort_widget.html.erb
blacklight-5.5.2 app/views/catalog/_sort_widget.html.erb
blacklight-5.5.1 app/views/catalog/_sort_widget.html.erb
blacklight-5.5.0 app/views/catalog/_sort_widget.html.erb
blacklight-5.4.0 app/views/catalog/_sort_widget.html.erb