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:
parent
e2d54b1279
commit
e07c6d0729
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -126,16 +126,6 @@
|
|||
<div id="didyoumean">Not what you expected? Check for <a href="/cgi-bin/koha/svc/suggestion?render=standalone&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">
|
||||
|
|
|
|||
Loading…
Reference in New Issue