[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
Fri Aug 7 15:27:35 CEST 2020


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

--- Comment #4 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 107963
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=107963&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