[Koha-bugs] [Bug 16111] RSS feed for OPAC search results has wrong content type

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 6 11:41:44 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16111

--- Comment #64 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
I am seeing URLs like
/cgi-bin/koha/opac-search.pl?&sort_by=relevance_dsc&format=atom
OR 
/cgi-bin/koha/opac-search.pl?amp;idx=kw&q=perl&format=rss

The extra ampersand was removed (before) by:
$query_cgi =~ s/^&//; # remove unnecessary & from beginning of the query cgi

But this is a side effect of the third patch.
Note that I am afraid that this patch making changes to C4/Search.pm might
break more things than we see now. And imo these changes are not needed for
this purpose.
I propose to partially revert that patch in QA.
Soon submitting it.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list