Bugzilla – Attachment 3481 Details for
Bug 4943
Search history cookie size limit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed Patch
0001-Bug4943-Search-history-cookie-size-limit.patch (text/plain), 773 bytes, created by
Chris Cormack
on 2011-03-28 21:11:57 UTC
(
hide
)
Description:
Proposed Patch
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2011-03-28 21:11:57 UTC
Size:
773 bytes
patch
obsolete
>From fcb666fb124f23ba2f074e56abf18ffcdbf52f4d Mon Sep 17 00:00:00 2001 >From: Matthias Meusburger <matthias.meusburger@biblibre.com> >Date: Wed, 7 Jul 2010 10:37:33 +0200 >Subject: [PATCH] Bug4943: Search history cookie size limit > >--- > opac/opac-search.pl | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > >diff --git a/opac/opac-search.pl b/opac/opac-search.pl >index d22049f..de22ebb 100755 >--- 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', >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 4943
: 3481