From 33437d5609dba88c5921a86a0eb73ec4c983edf3 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 17 Apr 2013 15:37:57 +0200 Subject: [PATCH] Bug 10070: Anonymous searches are broken Test plan: 1 - turn on EnableOpacSearchHistory 2 - launch some searches at the opac 3 - go to your search history 4 - there is no history! 5 - apply this patch 6 - retry steps 1 to 3 7 - your history search is available! --- opac/opac-search.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-search.pl b/opac/opac-search.pl index 677b7c2..2502768 100755 --- a/opac/opac-search.pl +++ b/opac/opac-search.pl @@ -652,7 +652,7 @@ for (my $i=0;$i<@servers;$i++) { $newsearchcookie = $cgi->cookie( -name => 'KohaOpacRecentSearches', # We uri_escape the whole freezed structure so we're sure we won't have any encoding problems - -value => uri_escape_utf8(freeze(\@recentSearches)), + -value =>freeze(\@recentSearches), -expires => '' ); $cookie = [$cookie, $newsearchcookie]; -- 1.7.10.4