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

--- Comment #1 from Jonathan Druart <[email protected]> ---
Created attachment 201046
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201046&action=edit
Bug 42925: Replace the 'clear' button with an icon inside the search box

On Chrome there is a builtin 'x' in the search box. The "Clear filter"
button is then not needed. However it does not exist for Firefox. We
could disable the builtin feature in Chrome add our own, so all browsers
have it.

Then the "Clear filter" button will no longer be needed.

Test plan:
0. Rebuilt the CSS files:
% yarn css:build
Refresh the browser's cache, or use a private window

Then, with both Firefox and Chrome (and any others web browsers you
have):
1. Go to /cgi-bin/koha/admin/branches.pl
=> Notice that the "Clear filters" button is gone
2. Start typing in the global search
=> The table filters
=> The "x" icon is there when the input is not empty
3. Copy shareable link
4. Click the "x" icon
=> The table refreshes
=> The "x" is no longer visible
5. Use the shareable link
=> The global search is there
=> The "x" icon is visible

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to