projects
/
koha-equinox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Bug 25982: OPAC shelves RSS link output is xml
[koha-equinox.git]
/
opac
/
opac-shelves.pl
diff --git
a/opac/opac-shelves.pl
b/opac/opac-shelves.pl
index
e2ac9aa
..
180d0d2
100755
(executable)
--- 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;