]> git.koha-community.org Git - koha.git/commit
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)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Mon, 29 Jul 2013 12:47:02 +0000 (08:47 -0400)
commit73fc8f439fcaeb790f96dffe0a8f99aed194e311
tree7df932557451d94b1b9281cfd8ae9c93d5f709d5
parentc169ac6882ca8b9a96592047f9233faee52cda20
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>
(cherry picked from commit a18b097b000428b143ee1647124566cc8a70f2b6)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
C4/Auth.pm
opac/opac-search-history.pl
opac/opac-search.pl