Lines 616-623
sub MapItemsToHoldRequests {
Link Here
|
616 |
next unless $items_by_itemnumber{ $item->{itemnumber} }->{_object}->can_be_transferred( { to => $libraries->{ $request->{branchcode} } } ); |
616 |
next unless $items_by_itemnumber{ $item->{itemnumber} }->{_object}->can_be_transferred( { to => $libraries->{ $request->{branchcode} } } ); |
617 |
|
617 |
|
618 |
# Don't fill item level holds that contravene the hold pickup policy at this time |
618 |
# Don't fill item level holds that contravene the hold pickup policy at this time |
619 |
next unless $item->{hold_fulfillment_policy} eq 'any' |
619 |
next |
620 |
|| $request->{branchcode} eq $item->{ $item->{hold_fulfillment_policy} }; |
620 |
unless $item->{hold_fulfillment_policy} eq 'any' |
|
|
621 |
|| ( defined $item->{ $item->{hold_fulfillment_policy} } |
622 |
&& $request->{branchcode} eq $item->{ $item->{hold_fulfillment_policy} } ); |
621 |
|
623 |
|
622 |
# If hold itemtype is set, item's itemtype must match |
624 |
# If hold itemtype is set, item's itemtype must match |
623 |
next unless ( !$request->{itemtype} |
625 |
next unless ( !$request->{itemtype} |
624 |
- |
|
|