[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
Sun Feb 28 17:30:32 CET 2021


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

--- Comment #4 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 117410
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=117410&action=edit
Bug 26247: Only copy header inputs if marked sticky

This alters the 'keep_text' function to require 'head-searchbox' elements
to be marked with class 'sticky' ti have values carry over

There have been complaints about the stickiness of retained search terms, this
patch attempts to mitigate that while preserving stickiness for other searches

To test:
1 - Enable 'StaffRetainSearchTerms' (or don't apply previous patches)
2 - Search in staff client from header
3 - Search term is retained in the search box
4 - Click abother tab like 'checkin'
5 - Search term is copied to new tab
6 - Apply patch
7 - Reload the page
8 - Search in header
9 - Search term still retained
10 - Click on another header tab
11 - Search term is not copied

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


More information about the Koha-bugs mailing list