https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16111 --- Comment #2 from Galen Charlton <gmcharlt@gmail.com> --- Comment on attachment 49400 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=49400 Bug 16111 - RSS feed for OPAC search results has wrong content type Review of attachment 49400: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=16111&attachment=49400) ----------------------------------------------------------------- ::: opac/opac-search.pl @@ +733,4 @@
}
## If there's just one result, redirect to the detail page + if ($total == 1 && $format ne 'rss' && $format ne 'opensearchdescription' ) {
I've no objection to switching to 'rss', but 'rss2' ought to continue to be recognized as a format specifier; otherwise, we'll break existing feed subscriptions. Quick addition to do this would be along the lines of my $format = $cgi->param("format") || ''; $format = 'rss' if $format =~ /rss/; -- You are receiving this mail because: You are watching all bug changes.