[Bug 7607] Advanced search: Index and search term don't match when leaving fields empty
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7607 --- Comment #24 from David Cook <dcook@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.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org