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

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

Return to bug 13214