use JSON rather than Storable for the OPAC search history cookie
authorGalen Charlton <gmc@esilibrary.com>
Thu, 25 Jul 2013 16:50:30 +0000 (16:50 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Sun, 28 Jul 2013 01:52:06 +0000 (01:52 +0000)
commit488a3d6fed57b4e0d773157ee4a6ab7e4775e7a4
treefdb238512878a028077f2064f2f26d07608c0cc8
parent80f2dc571e04996aa773ee5274e706c7281d2675
use JSON rather than Storable for the OPAC search history cookie

To test:

Exercise the OPAC search history functionality, after
turning on the EnableOpacSearchHistory syspref:

- Clear the KohaOpacRecentSearches cookie
- As an anonymous user, conduct a variety of searches,
  including ones that include non-ASCII characters
- Check the search history and verified that all searches
  are listed
- Log into the OPAC
- Verify that current and past searches are listed in
  search history.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Auth.pm
opac/opac-search-history.pl
opac/opac-search.pl