Sha256: 8ca2b3525f7ff3cbeab125e1f9cd68c92d2ea0f4f464b6d324b5792352146200

Contents?: true

Size: 1.04 KB

Versions: 25

Compression:

Stored size: 1.04 KB

Contents

<% if constraints_helpers_and_partials_from_blacklight? || blacklight_config&.view_config(document_index_view_type)&.constraints_component %>
  <%= render((blacklight_config&.view_config(document_index_view_type)&.constraints_component || 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

25 entries across 25 versions & 2 rubygems

Version Path
blacklight-7.40.0 app/views/catalog/_constraints.html.erb
blacklight-7.39.0 app/views/catalog/_constraints.html.erb
blacklight-7.38.0 app/views/catalog/_constraints.html.erb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-7.37.0/app/views/catalog/_constraints.html.erb
blacklight-7.37.0 app/views/catalog/_constraints.html.erb
blacklight-7.36.2 app/views/catalog/_constraints.html.erb
blacklight-7.36.1 app/views/catalog/_constraints.html.erb
blacklight-7.36.0 app/views/catalog/_constraints.html.erb
blacklight-7.35.0 app/views/catalog/_constraints.html.erb
blacklight-7.34.0 app/views/catalog/_constraints.html.erb
blacklight-7.33.1 app/views/catalog/_constraints.html.erb
blacklight-7.33.0 app/views/catalog/_constraints.html.erb
blacklight-7.32.0 app/views/catalog/_constraints.html.erb
blacklight-7.31.0 app/views/catalog/_constraints.html.erb
blacklight-7.30.0 app/views/catalog/_constraints.html.erb
blacklight-7.29.0 app/views/catalog/_constraints.html.erb
blacklight-7.28.0 app/views/catalog/_constraints.html.erb
blacklight-7.27.1 app/views/catalog/_constraints.html.erb
blacklight-7.27.0 app/views/catalog/_constraints.html.erb
blacklight-7.26.1 app/views/catalog/_constraints.html.erb