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 <alex.arnaud@biblibre.com> Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
48338c56f0
commit
03a9b2efb1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue