From 3e0bab0bb927d20b60679ebf1606859d78495d04 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 5 Mar 2024 16:00:39 +0000 Subject: [PATCH] Bug 36224: Remove unused spsuggest from templates To test: -APPLY PATCH -Review the OPAC results and staff interface results pages. -Nothing should change, it would be impossible to end up inside of the [% IF koha_spsuggest %] condition because there is nothing like that in the scripts! Signed-off-by: David Nind Signed-off-by: Marcel de Rooy Signed-off-by: Katrin Fischer (cherry picked from commit e07c6d072977b9e52dc2153fd36f03601e161c1a) Signed-off-by: Fridolin Somers --- .../prog/en/modules/catalogue/results.tt | 12 ------------ .../opac-tmpl/bootstrap/en/modules/opac-results.tt | 10 ---------- 2 files changed, 22 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt index a508538ee9..8e5e2bb141 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt @@ -79,18 +79,6 @@
[% END %] - [% IF ( koha_spsuggest ) %] -
Did you mean: - -
- [% END %] - [% IF ( total ) %]

diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt index 043b1bbc69..6d3c34c0a9 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt @@ -126,16 +126,6 @@
Not what you expected? Check for suggestions
[% END %] - [% IF ( koha_spsuggest ) %] - Did you mean: - - [% END # / IF koha_spsuggest%] [% IF ( total ) %] [% IF ( ReturnPath ) %]
-- 2.39.5