Sha256: dc693715301e821f37a12e55d7f25ed089cf4cb7841a5db9897b16dc6f57e696

Contents?: true

Size: 556 Bytes

Versions: 18

Compression:

Stored size: 556 Bytes

Contents

<% if show_sort_and_per_page? and !blacklight_config.sort_fields.blank? %>
<div id="sort-dropdown" class="dropdown pull-right hidden-phone">
  <ul class="css-dropdown">
    <li class="btn">
      <%= link_to(t('blacklight.search.sort.label', :field =>current_sort_field.label), "#") %> <span class="caret"></span>
      <ul>
        <%- blacklight_config.sort_fields.each do |sort_key, field| %>
          <li><%= link_to(field.label, url_for(params_for_search(:sort => sort_key))) %></li>
        <%- end -%>
      </ul>
    </li>
  </ul>
</div>
<% end %>

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
blacklight-4.9.0 app/views/catalog/_sort_widget.html.erb
blacklight-4.8.0 app/views/catalog/_sort_widget.html.erb
blacklight-4.7.0 app/views/catalog/_sort_widget.html.erb
blacklight-4.7.0.pre1 app/views/catalog/_sort_widget.html.erb
blacklight-4.6.3 app/views/catalog/_sort_widget.html.erb
blacklight-4.6.2 app/views/catalog/_sort_widget.html.erb
blacklight-4.6.1 app/views/catalog/_sort_widget.html.erb
blacklight-4.6.0 app/views/catalog/_sort_widget.html.erb
blacklight-4.5.0 app/views/catalog/_sort_widget.html.erb
blacklight-4.5.0.rc1 app/views/catalog/_sort_widget.html.erb
blacklight-4.4.2 app/views/catalog/_sort_widget.html.erb
blacklight-4.4.1 app/views/catalog/_sort_widget.html.erb
blacklight-4.4.0 app/views/catalog/_sort_widget.html.erb
blacklight-4.3.0 app/views/catalog/_sort_widget.html.erb
blacklight-4.2.2 app/views/catalog/_sort_widget.html.erb
blacklight-4.2.1 app/views/catalog/_sort_widget.html.erb
blacklight-4.2.0 app/views/catalog/_sort_widget.html.erb
blacklight-4.1.0 app/views/catalog/_sort_widget.html.erb