Lines 316-323
foreach my $biblionumber (@biblionumbers) {
Link Here
|
316 |
## Should be same as biblionumber |
316 |
## Should be same as biblionumber |
317 |
my @biblioitemnumbers = keys %itemnumbers_of_biblioitem; |
317 |
my @biblioitemnumbers = keys %itemnumbers_of_biblioitem; |
318 |
|
318 |
|
319 |
## Hash of biblioitemnumber to 'biblioitem' table records |
319 |
my $biblioiteminfos_of = { |
320 |
my $biblioiteminfos_of = GetBiblioItemInfosOf(@biblioitemnumbers); |
320 |
map { |
|
|
321 |
my $biblioitem = $_; |
322 |
( $biblioitem->{biblioitemnumber} => $biblioitem ) |
323 |
} @{ Koha::Biblioitems->search( |
324 |
{ biblioitemnumber => { -in => \@biblioitemnumbers } }, |
325 |
{ select => ['biblioitemnumber', 'publicationyear', 'itemtype']} |
326 |
)->unblessed |
327 |
} |
328 |
}; |
321 |
|
329 |
|
322 |
my $frameworkcode = GetFrameworkCode( $biblionumber ); |
330 |
my $frameworkcode = GetFrameworkCode( $biblionumber ); |
323 |
my @notforloan_avs = Koha::AuthorisedValues->search_by_koha_field({ kohafield => 'items.notforloan', frameworkcode => $frameworkcode }); |
331 |
my @notforloan_avs = Koha::AuthorisedValues->search_by_koha_field({ kohafield => 'items.notforloan', frameworkcode => $frameworkcode }); |
324 |
- |
|
|