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:
parent
2842a8db24
commit
97e705079b
|
|
@ -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'};
|
||||
|
|
|
|||
Loading…
Reference in New Issue