diff --git a/app/views/catalog/facet.html.erb b/app/views/catalog/facet.html.erb index 4f41e0e701..f2e531378f 100644 --- a/app/views/catalog/facet.html.erb +++ b/app/views/catalog/facet.html.erb @@ -1,18 +1,23 @@ -
- <%= render 'facet_pagination' %> -
-
- <%= render BlacklightModalComponent.new do |component| %> - <% component.header { facet_field_label(@facet.key) } %> - <% component.body do %> - <%= render 'facet_index_navigation' if @facet.index_range && @display_facet.index? %> -
- <%= render_facet_limit(@display_facet, layout: false) %> + <%= render Blacklight::System::ModalComponent.new do |component| %> + <% component.prefix do %> +
+ <%= render 'facet_pagination' %>
<% end %> + + <% component.title { facet_field_label(@facet.key) } %> + + <%= render 'facet_index_navigation' if @facet.index_range && @display_facet.index? %> + +
+ <%= render Blacklight::FacetComponent.new(display_facet: @display_facet, + blacklight_config: blacklight_config, + layout: false) %> +
+ <% component.footer do %> -
+