From 997262f6fe7f47b5b6f0fd5cc1032538b3a79b26 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 17 Jun 2022 19:45:42 +0000 Subject: [PATCH] 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 Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt index a62af151c9..7f49236e42 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -207,7 +207,7 @@ Tags from this library:
    [% FOREACH TagLoo IN TagLoop %] -
  • [% TagLoo.term | html %] ([% TagLoo.weight_total | html %]) +
  • [% TagLoo.term | html %] ([% TagLoo.weight_total | html %]) [% IF ( loop.last ) %][% ELSE %], [% END %]
  • [% END %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt index 98106fdcd7..b71ad4ed86 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt @@ -470,7 +470,7 @@
      [% FOREACH TagLoo IN SEARCH_RESULT.TagLoop %]
    • - [% TagLoo.term | html %] + [% TagLoo.term | html %] ([% TagLoo.weight_total | html %])
    • [% END %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt index b0a3b7e7d2..07f6b7b130 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt @@ -482,7 +482,7 @@ Tags: -- 2.39.5