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

(-)a/C4/HoldsQueue.pm (-2 / +1 lines)
Lines 568-574 sub MapItemsToHoldRequests { Link Here
568
            }
568
            }
569
            $holdingbranch = $pickup_branch;
569
            $holdingbranch = $pickup_branch;
570
        }
570
        }
571
        elsif ($transport_cost_matrix) {
571
        if (!defined $itemnumber && defined $transport_cost_matrix) {
572
            $pull_branches = [keys %items_by_branch];
572
            $pull_branches = [keys %items_by_branch];
573
            $holdingbranch = least_cost_branch( $pickup_branch, $pull_branches, $transport_cost_matrix );
573
            $holdingbranch = least_cost_branch( $pickup_branch, $pull_branches, $transport_cost_matrix );
574
            if ( $holdingbranch ) {
574
            if ( $holdingbranch ) {
575
- 

Return to bug 35805