]> 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)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Sun, 28 Jul 2013 13:41:19 +0000 (10:41 -0300)
commit24a4d123e336540350221983a279354f010976fc
treebd8f623078002bf2d27c40676b1909c4c91b75d4
parente2fac72763cd541eef32d7278dea33dadc1aa6cc
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 076a6e244d6ef2bff5da4667ea7f9ed61c97b984)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Auth.pm
opac/opac-search-history.pl
opac/opac-search.pl