[Koha-bugs] [Bug 26247] Search terms retained in header search creates UX inconsistency

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 7 20:46:00 CET 2021


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

Fridolin Somers <fridolin.somers at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fridolin.somers at biblibre.co
                   |                            |m

--- Comment #24 from Fridolin Somers <fridolin.somers at biblibre.com> ---
As a quickfix, I propose this JavaScript that sets empty when entering the
input :

$(document).ready(function() {
  $("#header_search #catalog_search input[name='q']").focusin(function() {
    $(this).val("");
  });
});

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


More information about the Koha-bugs mailing list