OPAC detail print: use correct API to build item list

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Galen Charlton 2008-01-03 12:36:30 -06:00 committed by Joshua Ferraro
parent 2842a8db24
commit 97e705079b
1 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@ require Exporter;
use C4::Context;
use CGI;
use C4::Biblio;
use C4::Items;
use C4::Auth;
use C4::Output;
use C4::Dates;
@ -34,7 +35,7 @@ my $type = $query->param('type');
my $biblionumber = $query->param('biblionumber');
# change back when ive fixed request.pl
my @items = GetItemInfosOf($biblionumber);
my @items = GetItemsInfo($biblionumber);
my $norequests = 1;
foreach my $itm (@items) {
$norequests = 0 unless $itm->{'notforloan'};