% if show_sort_and_per_page? and !blacklight_config.sort_fields.blank? %>
-
<%= link_to(t('blacklight.search.sort.label', :field =>current_sort_field.label), "#") %>
<%- blacklight_config.sort_fields.each do |sort_key, field| %>
- <%= link_to(field.label, url_for(params_for_search(:sort => sort_key))) %>
<%- end -%>
<% end %>