|
Lines 950-955
sub CheckReserves {
Link Here
|
| 950 |
next if ( ($hold_fulfillment_policy eq 'homebranch') && ($res->{branchcode} ne $item->$hold_fulfillment_policy) ); |
950 |
next if ( ($hold_fulfillment_policy eq 'homebranch') && ($res->{branchcode} ne $item->$hold_fulfillment_policy) ); |
| 951 |
next if ( ($hold_fulfillment_policy eq 'holdingbranch') && ($res->{branchcode} ne $item->$hold_fulfillment_policy) ); |
951 |
next if ( ($hold_fulfillment_policy eq 'holdingbranch') && ($res->{branchcode} ne $item->$hold_fulfillment_policy) ); |
| 952 |
next unless $item->can_be_transferred( { to => Koha::Libraries->find( $res->{branchcode} ) } ); |
952 |
next unless $item->can_be_transferred( { to => Koha::Libraries->find( $res->{branchcode} ) } ); |
|
|
953 |
next if (CanItemBeReserved( $patron, $item, $res->{branchcode}, { ignore_hold_counts => 1 } )->{status} ne 'OK'); |
| 953 |
$priority = $res->{'priority'}; |
954 |
$priority = $res->{'priority'}; |
| 954 |
$highest = $res; |
955 |
$highest = $res; |
| 955 |
last if $local_hold_match; |
956 |
last if $local_hold_match; |
| 956 |
- |
|
|