From 93f8427ce41aa64fc9ed663ed2c3ade9681f0ae3 Mon Sep 17 00:00:00 2001 From: MJ Ray Date: Wed, 4 Apr 2012 10:23:06 +0100 Subject: [PATCH] bug 7894: crude fix: convert results array into an arrayref --- opac/opac-detail.pl | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl index a00e976..796f3b0 100755 --- a/opac/opac-detail.pl +++ b/opac/opac-detail.pl @@ -148,7 +148,8 @@ if ($session->param('busc')) { for (my $i=0;$i<@servers;$i++) { my $server = $servers[$i]; $hits = $results_hashref->{$server}->{"hits"}; - @newresults = searchResults('opac', '', $hits, $results_per_page, $offset, $arrParamsBusc->{'scan'}, @{$results_hashref->{$server}->{"RECORDS"}},, C4::Context->preference('hidelostitems')); + my @records = $results_hashref->{$server}->{"RECORDS"}; + @newresults = searchResults('opac', '', $hits, $results_per_page, $offset, $arrParamsBusc->{'scan'}, \@records,, C4::Context->preference('hidelostitems')); } return \@newresults; }#searchAgain -- 1.7.2.5