Bug 4943

Summary: Search history cookie size limit
Product: Koha Reporter: Fridolin Somers <fridolin.somers>
Component: OPACAssignee: Paul Poulain <paul.poulain>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: minor    
Priority: PATCH-Sent (DO NOT USE) CC: chris, julian.maurice, matthias.meusburger
Version: rel_3_2   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on:    
Bug Blocks: 5584    
Attachments: Proposed Patch

Description Fridolin Somers 2010-07-06 14:24:36 UTC
For a none logged-in user : 

When using search many times, comes a time when search history stops (around 15).
When not logged-in, search history is stored in a cookie and this cookie is full.
Its size is limited by browser at 4Ko.

Search history could erase old searches to keep space in cookie.

Regards.
Comment 1 Chris Cormack 2011-03-28 21:11:57 UTC
Created attachment 3481 [details] [review]
Proposed Patch
Comment 2 Julian Maurice 2011-03-30 10:04:08 UTC
Works as expected. Signed off.
Comment 3 Chris Cormack 2011-03-31 23:08:48 UTC
Pushed, please test