View | Details | Raw Unified | Return to bug 28885
Collapse All | Expand All

(-)a/opac/opac-detail.pl (-1 / +1 lines)
Lines 526-531 if ($session->param('busc')) { Link Here
526
    for (my $j = 0; $j < @arrBiblios; $j++) {
526
    for (my $j = 0; $j < @arrBiblios; $j++) {
527
        next unless ($arrBiblios[$j]);
527
        next unless ($arrBiblios[$j]);
528
        $dataBiblioPaging = Koha::Biblios->find( $arrBiblios[$j] ) if ($arrBiblios[$j] != $biblionumber);
528
        $dataBiblioPaging = Koha::Biblios->find( $arrBiblios[$j] ) if ($arrBiblios[$j] != $biblionumber);
529
        next unless $dataBiblioPaging;
529
        push @listResults, {index => $j + 1 + $offset, biblionumber => $arrBiblios[$j], title => ($arrBiblios[$j] == $biblionumber)?'':$dataBiblioPaging->title, author => ($arrBiblios[$j] != $biblionumber && $dataBiblioPaging->author)?$dataBiblioPaging->author:'', url => ($arrBiblios[$j] == $biblionumber)?'':'opac-detail.pl?biblionumber=' . $arrBiblios[$j]};
530
        push @listResults, {index => $j + 1 + $offset, biblionumber => $arrBiblios[$j], title => ($arrBiblios[$j] == $biblionumber)?'':$dataBiblioPaging->title, author => ($arrBiblios[$j] != $biblionumber && $dataBiblioPaging->author)?$dataBiblioPaging->author:'', url => ($arrBiblios[$j] == $biblionumber)?'':'opac-detail.pl?biblionumber=' . $arrBiblios[$j]};
530
    }
531
    }
531
    $template->param('listResults' => \@listResults) if (@listResults);
532
    $template->param('listResults' => \@listResults) if (@listResults);
532
- 

Return to bug 28885