diff --git a/app/components/blacklight/facet_field_pagination_component.html.erb b/app/components/blacklight/facet_field_pagination_component.html.erb index 6a903a1e9..e8b987111 100644 --- a/app/components/blacklight/facet_field_pagination_component.html.erb +++ b/app/components/blacklight/facet_field_pagination_component.html.erb @@ -1,16 +1,49 @@ - - <% paginator = @facet_field.paginator %> - <% if paginator.present? %> - <% items = paginator.instance_variable_get(:@all) %> - <% rows = paginator.instance_variable_get(:@limit) %> - <% paginated_items = convert_facet_to_paginated_array(paginator, rows: rows) %> + +
<% if @facet_field.paginator.sort == 'index' -%> <%= t('blacklight.search.facets.sort.index') %>