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

(-)a/C4/HoldsQueue.pm (-2 / +1 lines)
Lines 421-427 sub _allocateWithTransportCostMatrix { Link Here
421
    my @remaining_items = grep { !exists $allocated_items->{ $_->{itemnumber} } && $_->{holdallowed} ne 'not_allowed'; }
421
    my @remaining_items = grep { !exists $allocated_items->{ $_->{itemnumber} } && $_->{holdallowed} ne 'not_allowed'; }
422
        @$available_items;
422
        @$available_items;
423
423
424
    my @requests  = grep { !defined $_->{itemnumber} } @$hold_requests;
424
    my @requests  = grep { !defined $_->{itemnumber} && !defined $_->{allocated} } @$hold_requests;
425
    my @remaining = ();
425
    my @remaining = ();
426
426
427
    my $num_agents = scalar(@remaining_items);
427
    my $num_agents = scalar(@remaining_items);
428
- 

Return to bug 38126