From e447e8edcf3c68ab1fac5f3c5c8b65ed535930df 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 (cherry picked from commit 997262f6fe7f47b5b6f0fd5cc1032538b3a79b26) (cherry picked from commit da66f3119ffc490baf9378baae83221aabef6205) Signed-off-by: Arthur Suzuki --- 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 6dc116c0b9..687f7fa8c3 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 28b4bdef6c..b8a6d243ef 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt @@ -478,7 +478,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 18e9ac2e70..18602acc3c 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt @@ -485,7 +485,7 @@ Tags: -- 2.39.5