Bugzilla – Attachment 107539 Details for
Bug 25982
OPAC shelves RSS link output is HTML not XML
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25982: OPAC shelves RSS link output is xml
Bug-25982-OPAC-shelves-RSS-link-output-is-xml.patch (text/plain), 1.17 KB, created by
Katrin Fischer
on 2020-07-29 21:36:19 UTC
(
hide
)
Description:
Bug 25982: OPAC shelves RSS link output is xml
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-07-29 21:36:19 UTC
Size:
1.17 KB
patch
obsolete
>From 0ee9eeaf81a30679674846109e2304aaf5ab7834 Mon Sep 17 00:00:00 2001 >From: Didier Gautheron <didier.gautheron@biblibre.com> >Date: Sun, 12 Jul 2020 14:09:15 +0200 >Subject: [PATCH] Bug 25982: OPAC shelves RSS link output is xml > >Output rss feed as text/xml > >Test plan: >1) have books entered >2) log in create a list >3) add books to list >4) display list in OPAC >5) click the RSS link button. > -- output is displayed as html text >6) apply patch >7) repeat steps 4&5 > -- output is displayed as xml tree > >Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> >Signed-off-by: Amit Gupta <amit.gupta@informaticsglobal.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > opac/opac-shelves.pl | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/opac/opac-shelves.pl b/opac/opac-shelves.pl >index e2ac9aafc8..180d0d2701 100755 >--- a/opac/opac-shelves.pl >+++ b/opac/opac-shelves.pl >@@ -433,4 +433,5 @@ $template->param( > listsview => 1, > ); > >-output_html_with_http_headers $query, $cookie, $template->output; >+my $content_type = $query->param('rss')? 'rss' : 'html'; >+output_with_http_headers $query, $cookie, $template->output, $content_type; >-- >2.11.0
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 25982
:
106806
|
107435
|
107441
| 107539