Bug 13265: Use sessionStorage to store searches instead of cookies
authorJonathan Druart <jonathan.druart@koha-community.org>
Fri, 22 May 2015 11:11:19 +0000 (13:11 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Thu, 11 Jun 2015 20:18:24 +0000 (08:18 +1200)
commitfc3fe18d05f2d12e1bfb33b279112680b6fd16a9
treed7bc806d8d0fb1b6b77b63822cf35e846091ec52
parentcab96a3c8c4cf1827bf3350107e82da75b8b8856
Bug 13265: Use sessionStorage to store searches instead of cookies

This is a counter patch.
The idea is to provide a permanent solution for the cookie length issue
we occurred on storing the searches (intranet side).

Test plan:
Launch as many searches as you can (don't forget to sleep).
You should not get any error.
Confirm there is no regression using the results browser.

Tested with 6 parralel searches in different tabs (with alternatively browising up and down). No problems found.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 41b9687d975a3c2a54cc28229d4ba76edf175de9)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/js/browser.js