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>
(cherry picked from commit 16ec30258e)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
84d173c198
commit
c3ffcda461
|
|
@ -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 %]&q=[% TAGLOO.term |url %]">[% TAGLOO.term | html %]</a>
|
||||
<a href="/cgi-bin/koha/opac-search.pl?tag=[% TAGLOO.term |uri %]&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 %]&q=[% MY_TAG.term |url %]">[% MY_TAG.term | html %]</a>
|
||||
<a href="/cgi-bin/koha/opac-search.pl?tag=[% MY_TAG.term |uri %]&q=[% MY_TAG.term |uri %]">[% MY_TAG.term | html %]</a>
|
||||
[% ELSE %]
|
||||
[% MY_TAG.term | html %] (not approved)
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue