Bug 30989: Use uri filter where tag links are displayed
TO test: 1. Turn on: TagsEnabled. 2. Log in to the OPAC and create a tag like "LGBTQ+" 3. Add that record to a list 3. Now try clicking on that tag from detail, results, and lists page. 4. If you click on the link for the "LGBTQ+" you will get a 'no results found page'. 5. Apply patch 6. Try clicking on each of the tags in detail, results, and lists. They should work now. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> (cherry picked from commit997262f6fe) (cherry picked from commitda66f3119f) Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
This commit is contained in:
parent
0dbdd2b316
commit
e447e8edcf
|
|
@ -207,7 +207,7 @@
|
|||
<span class="label">Tags from this library:</span>
|
||||
<ul id="tagslist">
|
||||
[% FOREACH TagLoo IN TagLoop %]
|
||||
<li><a href="/cgi-bin/koha/opac-search.pl?tag=[% TagLoo.term |url %]&q=[% TagLoo.term |url %]">[% TagLoo.term | html %]</a> <span class="weight">([% TagLoo.weight_total | html %])</span>
|
||||
<li><a href="/cgi-bin/koha/opac-search.pl?tag=[% TagLoo.term | uri %]&q=[% TagLoo.term | uri %]">[% TagLoo.term | html %]</a> <span class="weight">([% TagLoo.weight_total | html %])</span>
|
||||
[% IF ( loop.last ) %][% ELSE %], [% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -478,7 +478,7 @@
|
|||
<ul>
|
||||
[% FOREACH TagLoo IN SEARCH_RESULT.TagLoop %]
|
||||
<li>
|
||||
<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="weight">([% TagLoo.weight_total | html %])</span>
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -485,7 +485,7 @@
|
|||
<span class="label">Tags:</span>
|
||||
<ul>
|
||||
[% FOREACH TagLoo IN itemsloo.TagLoop %]
|
||||
<li><a href="/cgi-bin/koha/opac-search.pl?tag=[% TagLoo.term |url %]&q=[% TagLoo.term |url %]">[% TagLoo.term | html %]</a> <span class="weight">([% TagLoo.weight_total | html %])</span></li>
|
||||
<li><a href="/cgi-bin/koha/opac-search.pl?tag=[% TagLoo.term | uri %]&q=[% TagLoo.term | uri %]">[% TagLoo.term | html %]</a> <span class="weight">([% TagLoo.weight_total | html %])</span></li>
|
||||
[% END %]
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue