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

(-)a/misc/link_bibs_to_authorities.pl (-3 lines)
Lines 85-91 my $indexer = Koha::SearchEngine::Indexer->new({ index => $Koha::SearchEngine::B Link Here
85
my $schema = Koha::Database->schema;
85
my $schema = Koha::Database->schema;
86
$schema->txn_begin;
86
$schema->txn_begin;
87
process_bibs( $linker, $bib_limit, $auth_limit, $commit, { tagtolink => $tagtolink, allowrelink => $allowrelink });
87
process_bibs( $linker, $bib_limit, $auth_limit, $commit, { tagtolink => $tagtolink, allowrelink => $allowrelink });
88
$dbh->commit();
89
88
90
exit 0;
89
exit 0;
91
90
Lines 115-121 sub process_bibs { Link Here
115
    if ( not $test_only ) {
114
    if ( not $test_only ) {
116
        $schema->txn_commit;
115
        $schema->txn_commit;
117
        $indexer->index_records( \@updated_biblios, "specialUpdate", "biblioserver" );
116
        $indexer->index_records( \@updated_biblios, "specialUpdate", "biblioserver" );
118
        $schema->txn_begin;
119
    }
117
    }
120
118
121
    my $headings_linked   = 0;
119
    my $headings_linked   = 0;
122
- 

Return to bug 32250