View | Details | Raw Unified | Return to bug 10311
Collapse All | Expand All

(-)a/C4/HoldsQueue.pm (-2 / +1 lines)
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
- 

Return to bug 10311