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)
committerLiz Rea <wizzyrea@gmail.com>
Tue, 16 Jun 2015 01:21:21 +0000 (13:21 +1200)
commit971f6ccf917e57a9cb6de22d3d0092a017abef74
treeb47814f98717a1842fe694396624f2ffee0e9a27
parent2a7b383c11398f9f49e0433222789a13aaa58ef0
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>
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
koha-tmpl/intranet-tmpl/js/browser.js