Lines 493-500
foreach my $biblionumber (@biblionumbers) {
Link Here
|
493 |
$num_available++; |
493 |
$num_available++; |
494 |
if($branchitemrule->{'hold_fulfillment_policy'} eq 'any' ) { |
494 |
if($branchitemrule->{'hold_fulfillment_policy'} eq 'any' ) { |
495 |
$item->{pickup_locations} = 'Any library'; |
495 |
$item->{pickup_locations} = 'Any library'; |
|
|
496 |
$item->{pickup_locations_code} = 'all'; |
496 |
} else { |
497 |
} else { |
497 |
$item->{pickup_locations} = join (', ', map { $_->{branchname} } Koha::Items->find($itemnumber)->pickup_locations({ patron => $patron })); |
498 |
$item->{pickup_locations} = join (', ', map { $_->{branchname} } Koha::Items->find($itemnumber)->pickup_locations({ patron => $patron })); |
|
|
499 |
$item->{pickup_locations_code} = join (',', map { $_->{branchcode} } Koha::Items->find($itemnumber)->pickup_locations({ patron => $patron })); |
498 |
} |
500 |
} |
499 |
|
501 |
|
500 |
push( @available_itemtypes, $item->{itype} ); |
502 |
push( @available_itemtypes, $item->{itype} ); |
501 |
- |
|
|