projects
/
koha-equinox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
b6f51fb
)
Bug 4943: Search history cookie size limit
author
Matthias Meusburger
<matthias.meusburger@biblibre.com>
Wed, 30 Mar 2011 10:03:23 +0000 (12:03 +0200)
committer
Chris Cormack
<chrisc@catalyst.net.nz>
Thu, 31 Mar 2011 22:54:00 +0000 (11:54 +1300)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
opac/opac-search.pl
patch
|
blob
|
history
diff --git
a/opac/opac-search.pl
b/opac/opac-search.pl
index
c145729
..
a38d6f9
100755
(executable)
--- a/
opac/opac-search.pl
+++ b/
opac/opac-search.pl
@@
-504,6
+504,7
@@
for (my $i=0;$i<@servers;$i++) {
$template->param(ShowOpacRecentSearchLink => 1);
}
+ shift @recentSearches if (@recentSearches > 15);
# Pushing the cookie back
$newsearchcookie = $cgi->cookie(
-name => 'KohaOpacRecentSearches',