From 7941849c209943ba248bd37013bf95a6fd2221c0 Mon Sep 17 00:00:00 2001 From: Baptiste Wojtkowski Date: Tue, 13 Aug 2024 16:39:04 +0200 Subject: [PATCH] Bug 37629: Link to news are broken When browsing news in the opac (opac-main.pl), links in the titles of news are broken. The id pasted in the link is the id from the additional_contents_localizations instead of the id from additional_contents. TEST PLAN: 1 - In intranet create a news with multiple languages 2 - Create a second news 3 - In OPAC, the link of the title of the second news (and maybe the first) should be broken APPLY PATCH 4 - In OPAC, the link of the title of both news should work Signed-off-by: Owen Leonard --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt index 22a995b516..75182f9149 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt @@ -95,7 +95,7 @@ [% IF ( news_item ) %] [% koha_new.title | html %] [% ELSE %] - [% koha_new.title | html %] + [% koha_new.title | html %] [% END %]
[% koha_new.content | $raw %]
-- 2.39.2