Bug 30989: (QA follow-up) Use uri filter on OPAC tag cloud page

This fixes 2 links on the page:
* The tag within the 'all tags' cloud
* The tag shown in the 'your tags' table

Test plan as before: Test with a tag like +++

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Katrin Fischer 2022-06-17 22:23:31 +00:00 committed by Tomas Cohen Arazi
parent 6895af827a
commit 16ec30258e
1 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@
<div id="tagcloud">
[% FOREACH TAGLOO IN TAGLOOP %]
<span class="tag tagweight[% TAGLOO.stratum | html %]" id="tag[% loop.count | html %]" style="display:inline;">
<a href="/cgi-bin/koha/opac-search.pl?tag=[% TAGLOO.term |url %]&amp;q=[% TAGLOO.term |url %]">[% TAGLOO.term | html %]</a>
<a href="/cgi-bin/koha/opac-search.pl?tag=[% TAGLOO.term |uri %]&amp;q=[% TAGLOO.term |uri %]">[% TAGLOO.term | html %]</a>
<span class="tagweight">[% TAGLOO.weight_total | html %]</span>
</span>
[% END %]
@ -153,7 +153,7 @@
<td class="tagterm">
<span class="tdlabel">Tag:</span>
[% IF MY_TAG.approved == 1 %]
<a href="/cgi-bin/koha/opac-search.pl?tag=[% MY_TAG.term |url %]&amp;q=[% MY_TAG.term |url %]">[% MY_TAG.term | html %]</a>
<a href="/cgi-bin/koha/opac-search.pl?tag=[% MY_TAG.term |uri %]&amp;q=[% MY_TAG.term |uri %]">[% MY_TAG.term | html %]</a>
[% ELSE %]
[% MY_TAG.term | html %] (not approved)
[% END %]