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 03:16:52 +0000 (03:16 +0000)
commitb36778ee098dc292e823e0e4b19271b539758269
tree3b1cbeb2a32a95ab5462d8399f8fc42ae27d7de4
parentd8d1d2eb66f9f0509fc05d79fc199e482f2ce9e2
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