From e07c6d072977b9e52dc2153fd36f03601e161c1a 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 --- .../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 79941222f9..e49bd17b8c 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 1e16195fe7..2144c50334 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