Bugzilla – Attachment 10837 Details for
Bug 8381
Paging broken in OPAC search results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8381: Fix adding limits to search history for logged in users
Bug-8381-Fix-adding-limits-to-search-history-for-l.patch (text/plain), 1.17 KB, created by
Katrin Fischer
on 2012-07-14 09:39:17 UTC
(
hide
)
Description:
Bug 8381: Fix adding limits to search history for logged in users
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2012-07-14 09:39:17 UTC
Size:
1.17 KB
patch
obsolete
>From 95f420751ac96f207695558323b2a65665d2c128 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Sat, 14 Jul 2012 11:37:42 +0200 >Subject: [PATCH] Bug 8381: Fix adding limits to search history for logged in > users > >Due to renaming of some variables the limits were only working for 'anonymous' >users. This patch fixes some variables, so limits are also added to history >when the user is logged in. >--- > 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 5c6e85b..1e5a0d7 100755 >--- a/opac/opac-search.pl >+++ b/opac/opac-search.pl >@@ -632,7 +632,7 @@ for (my $i=0;$i<@servers;$i++) { > else { > # To the session (the user is logged in) > if (($params->{'offset'}||'') eq '') { >- AddSearchHistory($borrowernumber, $cgi->cookie("CGISESSID"), $query_desc, $query_cgi, $total); >+ AddSearchHistory($borrowernumber, $cgi->cookie("CGISESSID"), $query_desc_history, $query_cgi_history, $total); > $template->param(ShowOpacRecentSearchLink => 1); > } > } >-- >1.7.9.5
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 8381
:
10809
|
10836
|
10837
|
10867