[Koha-bugs] [Bug 32639] OpenSearch description format document generates search errors

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 16 07:05:27 CET 2023


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

--- Comment #3 from David Cook <dcook at prosentient.com.au> ---
Created attachment 145330
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=145330&action=edit
Bug 32639: Send opac-search.osdx without doing an empty search

This patch sends out opac-search.osdx without running the entirety
of opac-search.pl without any search query.

This prevents unnecessary computations and warnings from appearing
in the logs.

Test plan:
1. Apply patch
2. Go to
http://kohadev.myDNSname.org:8080/cgi-bin/koha/opac-search.pl?format=opensearchdescription
3. Note that no errors appear in
/var/log/koha/kohadev/plack-opac-error.log
4. Verify that opac-search.pl still works as expected when
doing a search via the web UI

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


More information about the Koha-bugs mailing list