diff --git a/app/components/blacklight/facet_field_pagination_component_defnc.html.erb b/app/components/blacklight/facet_field_pagination_component_defnc.html.erb deleted file mode 100644 index 6a903a1e9..000000000 --- a/app/components/blacklight/facet_field_pagination_component_defnc.html.erb +++ /dev/null @@ -1,22 +0,0 @@ - - - <% 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) %> - -
- <%= paginate paginated_items, theme: 'blacklight', param_name: :page %> -
- <% end %> - -
- <% if @facet_field.paginator.sort == 'index' -%> - <%= t('blacklight.search.facets.sort.index') %> - <%= helpers.link_to(t('blacklight.search.facets.sort.count'), sort_facet_url('count'), class: "sort_change numeric btn btn-outline-secondary", data: { blacklight_modal: "preserve" }) %> - <% elsif @facet_field.paginator.sort == 'count' -%> - <%= helpers.link_to(t('blacklight.search.facets.sort.index'), sort_facet_url('index'), class: "sort_change az btn btn-outline-secondary", data: { blacklight_modal: "preserve" }) %> - <%= t('blacklight.search.facets.sort.count') %> - <% end -%> -
\ No newline at end of file