<% if constraints_helpers_and_partials_from_blacklight? %> <%= render(Blacklight::ConstraintsComponent.new(search_state: convert_to_search_state(controller.params != params ? params : search_state))) %> <% else %> <% Deprecation.warn(Blacklight::RenderConstraintsHelperBehavior, 'Constraints helpers or partials were overridden; not using components') %> <% if Deprecation.silence(Blacklight::RenderConstraintsHelperBehavior) { query_has_constraints? } %>

<%= t('blacklight.search.search_constraints_header') %>

<%= render 'start_over' %> <%= t('blacklight.search.filters.title') %> <%= render_constraints(controller.params != params ? params : search_state) %>
<% end %> <% end %>