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

Katrin Fischer <katrin.fisc...@bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #117537|0                           |1
        is obsolete|                            |

--- Comment #15 from Katrin Fischer <katrin.fisc...@bsz-bw.de> ---
Created attachment 120355
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120355&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

Signed-off-by: Sally <sally.hea...@cheshiresharedservices.gov.uk>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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