From 3a10cbda9ac49ebf934e5c15a35d7cb47d7c66c6 Mon Sep 17 00:00:00 2001 From: Fridolyn SOMERS Date: Wed, 8 Aug 2012 16:34:32 +0200 Subject: [PATCH] Bug 8293: Software error when clicking on first or last result of each page on OPAC Signed-off-by: Jonathan Druart Signed-off-by: Paul Poulain --- opac/opac-detail.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl index c1af478976..8b3e21dfe9 100755 --- a/opac/opac-detail.pl +++ b/opac/opac-detail.pl @@ -157,8 +157,7 @@ if ($session->param('busc')) { for (my $i=0;$i<@servers;$i++) { my $server = $servers[$i]; $hits = $results_hashref->{$server}->{"hits"}; - my @records = $results_hashref->{$server}->{"RECORDS"}; - @newresults = searchResults('opac', '', $hits, $results_per_page, $offset, $arrParamsBusc->{'scan'}, \@records,, C4::Context->preference('hidelostitems')); + @newresults = searchResults('opac', '', $hits, $results_per_page, $offset, $arrParamsBusc->{'scan'}, $results_hashref->{$server}->{"RECORDS"}); } return \@newresults; }#searchAgain -- 2.39.5