app/views/workarea/admin/facets/_applied.html.haml in workarea-admin-3.5.13 vs app/views/workarea/admin/facets/_applied.html.haml in workarea-admin-3.5.14
- old
+ new
@@ -8,10 +8,10 @@
= inline_svg('workarea/admin/icons/close.svg', class: 'browsing-controls__applied-icon svg-icon svg-icon--small svg-icon--black', title: t('workarea.admin.facets.applied.remove_filter'))
- @search.facet_selections.each do |facet, values|
- values.each do |value|
%li.browsing-controls__applied-filter
- %span= value.titleize
+ %span= facet_value_display_name(facet, value)
= link_to facet_path(facet, value), class: 'browsing-controls__applied-remove-link' do
= inline_svg('workarea/admin/icons/close.svg', class: 'browsing-controls__applied-icon svg-icon svg-icon--small svg-icon--black', title: t('workarea.admin.facets.applied.remove_filter'))
= link_to t('workarea.admin.facets.applied.clear_all'), (reset_path if show_filters_reset?), class: 'browsing-controls__applied-reset'