Lines 329-336
foreach my $biblionumber (@biblionumbers) {
Link Here
|
329 |
## Should be same as biblionumber |
329 |
## Should be same as biblionumber |
330 |
my @biblioitemnumbers = keys %itemnumbers_of_biblioitem; |
330 |
my @biblioitemnumbers = keys %itemnumbers_of_biblioitem; |
331 |
|
331 |
|
332 |
## Hash of biblioitemnumber to 'biblioitem' table records |
332 |
my $biblioiteminfos_of = { |
333 |
my $biblioiteminfos_of = GetBiblioItemInfosOf(@biblioitemnumbers); |
333 |
map { |
|
|
334 |
my $biblioitem = $_; |
335 |
( $biblioitem->{biblioitemnumber} => $biblioitem ) |
336 |
} @{ Koha::Biblioitems->search( |
337 |
{ biblioitemnumber => { -in => \@biblioitemnumbers } }, |
338 |
{ select => ['biblioitemnumber', 'publicationyear', 'itemtype']} |
339 |
)->unblessed |
340 |
} |
341 |
}; |
334 |
|
342 |
|
335 |
my $frameworkcode = GetFrameworkCode( $biblionumber ); |
343 |
my $frameworkcode = GetFrameworkCode( $biblionumber ); |
336 |
my @notforloan_avs = Koha::AuthorisedValues->search_by_koha_field({ kohafield => 'items.notforloan', frameworkcode => $frameworkcode }); |
344 |
my @notforloan_avs = Koha::AuthorisedValues->search_by_koha_field({ kohafield => 'items.notforloan', frameworkcode => $frameworkcode }); |
337 |
- |
|
|