Sha256: a621bda65a0dc2b7c0af0d8e5fbfb228d2bdedf053339256db8292de1d21965b

Contents?: true

Size: 898 Bytes

Versions: 13

Compression:

Stored size: 898 Bytes

Contents

<% 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? } %>
    <div id="appliedParams" class="clearfix constraints-container">
      <h2 class="sr-only visually-hidden"><%= t('blacklight.search.search_constraints_header') %></h2>

      <%= render 'start_over' %>
      <span class="constraints-label sr-only visually-hidden"><%= t('blacklight.search.filters.title') %></span>
      <%= render_constraints(controller.params != params ? params : search_state) %>
    </div>
  <% end %>
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
blacklight-7.24.0 app/views/catalog/_constraints.html.erb
blacklight-7.23.0.1 app/views/catalog/_constraints.html.erb
blacklight-7.23.0 app/views/catalog/_constraints.html.erb
blacklight-7.22.2 app/views/catalog/_constraints.html.erb
blacklight-7.22.1 app/views/catalog/_constraints.html.erb
blacklight-7.22.0 app/views/catalog/_constraints.html.erb
blacklight-7.21.2 app/views/catalog/_constraints.html.erb
blacklight-7.21.1 app/views/catalog/_constraints.html.erb
blacklight-7.21.0 app/views/catalog/_constraints.html.erb
blacklight-7.20.1 app/views/catalog/_constraints.html.erb
blacklight-7.20.0 app/views/catalog/_constraints.html.erb
blacklight-7.19.2 app/views/catalog/_constraints.html.erb
blacklight-7.19.1 app/views/catalog/_constraints.html.erb