Bugzilla – Attachment 46154 Details for
Bug 13774
Add the unique anchors of news as links in the RSS for news in Opac
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13774 Add the unique anchors of news as links in the RSS for news in Opac
Bug-13774-Add-the-unique-anchors-of-news-as-links-.patch (text/plain), 1.79 KB, created by
Marc Véron
on 2015-12-31 14:57:55 UTC
(
hide
)
Description:
Bug 13774 Add the unique anchors of news as links in the RSS for news in Opac
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2015-12-31 14:57:55 UTC
Size:
1.79 KB
patch
obsolete
>From b1e438c950f6d2cc0269b2406309c4aee65ac236 Mon Sep 17 00:00:00 2001 >From: Viktor Sarge <viktor.sarge@regionhalland.se> >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=UTF-8 >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 ><veron@veron.ch> >--- > 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 2602226..ac952f5 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 @@ > <item> > <title>[% newsitem.title |html %]</title> > <description>[% newsitem.new |html %]</description> >+ <guid>[% OPACBaseURL %]/cgi-bin/koha/opac-main.pl#newsitem[% newsitem.idnew |html %]</guid> > </item> > [% END %] > </channel> >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13774
:
36306
|
46154
|
46227