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 <david@davidnind.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Lucas Gass 2024-03-05 16:00:39 +00:00 committed by Katrin Fischer
parent e2d54b1279
commit e07c6d0729
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
2 changed files with 0 additions and 22 deletions

View File

@ -79,18 +79,6 @@
<div class="col-sm-8">
[% END %]
[% IF ( koha_spsuggest ) %]
<div style="font-size: 12px;">Did you mean:
<ul style="list-style: none;">
[% FOREACH SPELL_SUGGES IN SPELL_SUGGEST %]
<li>
<a href="/cgi-bin/koha/catalogue/search.pl?q=[% SPELL_SUGGES.spsuggestion | uri %]">[% SPELL_SUGGES.spsuggestion | html %]</a>
</li>
[% END %]
</ul>
</div>
[% END %]
[% IF ( total ) %]
<h3>

View File

@ -126,16 +126,6 @@
<div id="didyoumean">Not what you expected? Check for <a href="/cgi-bin/koha/svc/suggestion?render=standalone&amp;q=[% querystring | uri %]">suggestions</a></div>
[% END %]
[% IF ( koha_spsuggest ) %]
Did you mean:
<ul style="list-style: none;">
[% FOREACH SPELL_SUGGES IN SPELL_SUGGEST %]
<li>
<a href="/cgi-bin/koha/opac-search.pl?q=[% SPELL_SUGGES.spsuggestion | uri %]">[% SPELL_SUGGES.spsuggestion | html %]</a>
</li>
[% END %]
</ul>
[% END # / IF koha_spsuggest%]
[% IF ( total ) %]
[% IF ( ReturnPath ) %]
<div class="returntosearch">