Lines 406-412
sub MapItemsToHoldRequests {
Link Here
|
406 |
push @{ $items_by_branch{ $item->{holdingbranch} } }, $item |
406 |
push @{ $items_by_branch{ $item->{holdingbranch} } }, $item |
407 |
unless exists $allocated_items{ $item->{itemnumber} }; |
407 |
unless exists $allocated_items{ $item->{itemnumber} }; |
408 |
} |
408 |
} |
409 |
return unless keys %items_by_branch; |
409 |
return \%item_map unless keys %items_by_branch; |
410 |
|
410 |
|
411 |
# now handle the title-level requests |
411 |
# now handle the title-level requests |
412 |
$num_items_remaining = scalar(@$available_items) - scalar(keys %allocated_items); |
412 |
$num_items_remaining = scalar(@$available_items) - scalar(keys %allocated_items); |
413 |
- |
|
|