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

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

Return to bug 13214