[Koha-bugs] [Bug 7607] Advanced search: Index and search term don't match when leaving fields empty
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Sep 28 12:54:12 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7607
Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #107963|0 |1
is obsolete| |
--- Comment #6 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 110845
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=110845&action=edit
Bug 7607: Fix adv search when leaving fields empty
We have a rewrite rule in our apache config that remove empty
parameters:
RewriteCond %{QUERY_STRING} (.*?)(?:[A-Za-z0-9_-]+)=&(.*)
That causes the advanced search to search on the wrong index if an input
field is left empty.
Test plan (staff and OPAC):
- leave the first pulldown on keyword and the search term empty
- select author or title from the second pull down and enter a search term
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list