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

(-)a/acqui/addorderiso2709.pl (-2 / +1 lines)
Lines 339-345 sub import_batches_list { Link Here
339
    foreach my $batch (@$batches) {
339
    foreach my $batch (@$batches) {
340
        if ( $batch->{'import_status'} =~ /^staged$|^reverted$/ ) {
340
        if ( $batch->{'import_status'} =~ /^staged$|^reverted$/ ) {
341
            # check if there is at least 1 line still staged
341
            # check if there is at least 1 line still staged
342
            my $stagedList=GetImportRecordsRange($batch->{'import_batch_id'}, undef, undef, $batch->{import_status}, { order_by_direction => 'ASC' });
342
            my $stagedList=GetImportRecordsRange($batch->{'import_batch_id'}, undef, 1, $batch->{import_status}, { order_by_direction => 'ASC' });
343
            if (scalar @$stagedList) {
343
            if (scalar @$stagedList) {
344
                push @list, {
344
                push @list, {
345
                        import_batch_id => $batch->{'import_batch_id'},
345
                        import_batch_id => $batch->{'import_batch_id'},
346
- 

Return to bug 13214