[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 Nov 20 12:15:06 CET 2020


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

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

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

--- Comment #49 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 113872
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113872&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>
Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

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


More information about the Koha-bugs mailing list