[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
Wed Nov 4 00:04:38 CET 2020


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

David Nind <david at davidnind.com> changed:

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

--- Comment #25 from David Nind <david at davidnind.com> ---
Created attachment 112963
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=112963&action=edit
Bug 7607: [Alternate] 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>

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


More information about the Koha-bugs mailing list