From 504db3251819e78903b522272a30df8b27dc48b8 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 21 Jun 2018 13:37:35 +0000 Subject: [PATCH] Bug 20974: Remove files left behind after removing Solr Some files were left behind when Bug 12538 removed support for Solr. This patch removes them. To test, apply the patch and fail to observe the existence of these files: koha-tmpl/opac-tmpl/bootstrap/en/includes/search/facets.inc koha-tmpl/opac-tmpl/bootstrap/en/includes/search/page-numbers.inc koha-tmpl/opac-tmpl/bootstrap/en/includes/search/resort_form.inc Perform a search in the OPAC to confirm that nothing broke. --- .../bootstrap/en/includes/search/facets.inc | 56 ---------------------- .../bootstrap/en/includes/search/page-numbers.inc | 17 ------- .../bootstrap/en/includes/search/resort_form.inc | 23 --------- 3 files changed, 96 deletions(-) delete mode 100644 koha-tmpl/opac-tmpl/bootstrap/en/includes/search/facets.inc delete mode 100644 koha-tmpl/opac-tmpl/bootstrap/en/includes/search/page-numbers.inc delete mode 100644 koha-tmpl/opac-tmpl/bootstrap/en/includes/search/resort_form.inc diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/search/facets.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/search/facets.inc deleted file mode 100644 index 93c8b0f..0000000 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/search/facets.inc +++ /dev/null @@ -1,56 +0,0 @@ -[% IF facets_loop %] -
-

Refine your search

- -
-[% END %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/search/page-numbers.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/search/page-numbers.inc deleted file mode 100644 index 2de511f..0000000 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/search/page-numbers.inc +++ /dev/null @@ -1,17 +0,0 @@ -[% IF ( PAGE_NUMBERS ) %] -
- [% IF ( previous_page ) %] - << Previous - [% END %] - [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %] - [% IF ( PAGE_NUMBER.current ) %] - [% PAGE_NUMBER.page %] - [% ELSE %] - [% PAGE_NUMBER.page %] - [% END %] - [% END %] - [% IF ( next_page ) %] - Next >> - [% END %] -
-[% END %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/search/resort_form.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/search/resort_form.inc deleted file mode 100644 index 88c9f66..0000000 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/search/resort_form.inc +++ /dev/null @@ -1,23 +0,0 @@ -[% IF sort_by == "score asc" %] - -[% ELSE %] - -[% END %] -[% IF sort_by == "score desc" %] - -[% ELSE %] - -[% END %] - -[% FOREACH ind IN sortable_indexes %] - [% IF sort_by == "$ind.code asc" %] - - [% ELSE %] - - [% END %] - [% IF sort_by == "$ind.code desc" %] - - [% ELSE %] - - [% END %] -[% END %] -- 2.1.4