Skip to content

Commit 352ece8

Browse files
authored
Merge pull request #3331 from projectblacklight/remove-constraints-partial
Remove the catalog/_constraints.html.erb partial
2 parents 1370a7e + 9aaefaa commit 352ece8

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app/views/catalog/_constraints.html.erb

Lines changed: 0 additions & 1 deletion
This file was deleted.

app/views/catalog/_search_results.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<% content_for(:container_header) do -%>
1515
<%= render 'search_results_header' %>
16-
<%= render 'constraints' %>
16+
<%= render (blacklight_config&.view_config(document_index_view_type)&.constraints_component || Blacklight::ConstraintsComponent).new(search_state: search_state) %>
1717
<% end %>
1818

1919
<%= render 'search_header' %>

0 commit comments

Comments
 (0)