[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:03:58 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7607
--- Comment #24 from David Cook <dcook at prosentient.com.au> ---
Comment on attachment 112912
--> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=112912
Bug 7607: [Alternate] Remove empty inputs when submitting search form
Review of attachment 112912:
--> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=7607&attachment=112912)
-----------------------------------------------------------------
::: koha-tmpl/intranet-tmpl/prog/js/staff-global.js
@@ +140,5 @@
> + if( $(this).find('input[name="q"]').val() == "" ){
> + $(this).remove();
> + removedPrior = true;
> + }
> + });
I haven't tested the code but what about the idx? Wouldn't this code exacerbate
the problem?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list