[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
Tue Nov 17 10:32:05 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7607
Josef Moravec <josef.moravec at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #113682|0 |1
is obsolete| |
--- Comment #39 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 113691
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113691&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>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list