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

(-)a/misc/migration_tools/bulkmarcimport.pl (-5 / +8 lines)
Lines 535-542 RECORD: while () { Link Here
535
                        1    #@FIXME: Really always updated?
535
                        1    #@FIXME: Really always updated?
536
                    );
536
                    );
537
                }
537
                }
538
                push @search_engine_record_ids, $authid;
538
                if ($indexer) {
539
                push @search_engine_records,    $record;
539
                    push @search_engine_record_ids, $authid;
540
                    push @search_engine_records,    $record;
541
                }
540
            } else {
542
            } else {
541
                my ( $biblioitemnumber, $itemnumbers_ref, $errors_ref, $record_id );
543
                my ( $biblioitemnumber, $itemnumbers_ref, $errors_ref, $record_id );
542
544
Lines 704-711 RECORD: while () { Link Here
704
                    my $biblio = Koha::Biblios->find($record_id);
706
                    my $biblio = Koha::Biblios->find($record_id);
705
                    $record = $biblio->metadata_record( { embed_items => 1 } );
707
                    $record = $biblio->metadata_record( { embed_items => 1 } );
706
708
707
                    push @search_engine_record_ids, $record_id;
709
                    if ($indexer) {
708
                    push @search_engine_records,    $record;
710
                        push @search_engine_record_ids, $record_id;
711
                        push @search_engine_records,    $record;
712
                    }
709
                }
713
                }
710
            }
714
            }
711
        }
715
        }
712
- 

Return to bug 37020