From 98472a674b8f1d415f079a5425a47f3a23a15089 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 14 Jul 2012 11:37:42 +0200 Subject: [PATCH] [Signed-off] 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. Signed-off-by: Alex Arnaud --- opac/opac-search.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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.0.4