|
Lines 563-572
foreach my $biblioNum (@biblionumbers) {
Link Here
|
| 563 |
my $patron_unblessed = $patron->unblessed; |
563 |
my $patron_unblessed = $patron->unblessed; |
| 564 |
my $branch = GetReservesControlBranch( $itemInfo, $patron_unblessed ); |
564 |
my $branch = GetReservesControlBranch( $itemInfo, $patron_unblessed ); |
| 565 |
|
565 |
|
| 566 |
my $policy_holdallowed = !$itemLoopIter->{already_reserved}; |
|
|
| 567 |
# items_any_available defined outside of the current loop, |
566 |
# items_any_available defined outside of the current loop, |
| 568 |
# so we avoiding loop inside IsAvailableForItemLevelRequest: |
567 |
# so we avoiding loop inside IsAvailableForItemLevelRequest: |
| 569 |
$policy_holdallowed &&= |
568 |
my $policy_holdallowed = |
| 570 |
CanItemBeReserved( $patron, $item )->{status} eq 'OK' && |
569 |
CanItemBeReserved( $patron, $item )->{status} eq 'OK' && |
| 571 |
IsAvailableForItemLevelRequest($item, $patron, undef, $items_any_available); |
570 |
IsAvailableForItemLevelRequest($item, $patron, undef, $items_any_available); |
| 572 |
|
571 |
|
| 573 |
- |
|
|