[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 13:24:34 CEST 2020


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

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #110845|0                           |1
        is obsolete|                            |

--- Comment #7 from David Nind <david at davidnind.com> ---
Created attachment 110849
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=110849&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

Signed-off-by: David Nind <david at davidnind.com>

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


More information about the Koha-bugs mailing list