[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
Thu Nov 5 20:01:31 CET 2020


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

--- Comment #29 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 113133
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113133&action=edit
Bug 7607: Remove empty inputs when submitting search form

This patch surrounds the operator, index, and query fields on the advanced
search
page wtih a 'search_set' class.

This allows us to process them as a group and confirm the query is populated
before submitting
the other parts to the form

TO test:
1 - Go to advanced search
2 - Use search boxes to search like:
    Title: (leave blank)
    Author: clinton
    keyword: shuffle
3 - Perform search
4 - Note no results as you searched for title:clinton etc.
5 - apply patch
6 - refresh and repeat
7 - search is now correct
8 - Try vaeious searches with 'more options' and selecting different operators

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

Signed-off-by: David Cook <dcook at prosentient.com.au>

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

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


More information about the Koha-bugs mailing list