From 61186c9e775f37f5d3d652329708aa548079f554 Mon Sep 17 00:00:00 2001 From: Viktor Sarge Date: Mon, 2 Mar 2015 13:27:01 +0000 Subject: [PATCH] Bug 13774 Add the unique anchors of news as links in the RSS for news in Opac MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This patch adds the unique anchors of bugs from bug13729 into the rss stream of the news in opac from bug7843. Since 7843 is already passed QA and I'm new to Git and mess things up I chose to post this update in a separate patch even if it's a tiny change. The addition of a unique guid tag both help users and keeps validators happy. Test plan: * Make sure you are on master in order to get the anchors from bug 13729 (or you could apply it manually). * Apply bug 7843 * Apply this patch. * Make shure you have enough news to make the Opac main page scroll. * Find the RSS link at the bottom om opac main and klick it. * Verify that the link displayed for each newsitem takes you to the right anchor. Followed test plan, works as expected. Signed-off-by: Marc Véron Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-news-rss.tt | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-news-rss.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-news-rss.tt index 2602226653..ac952f599b 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-news-rss.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-news-rss.tt @@ -9,6 +9,7 @@ [% newsitem.title |html %] [% newsitem.new |html %] + [% OPACBaseURL %]/cgi-bin/koha/opac-main.pl#newsitem[% newsitem.idnew |html %] [% END %] -- 2.39.5