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

(-)a/C4/Biblio.pm (-6 / +3 lines)
Lines 306-319 sub AddBiblio { Link Here
306
                if ( C4::Context->preference("OAI-PMH:AutoUpdateSets") ) {
306
                if ( C4::Context->preference("OAI-PMH:AutoUpdateSets") ) {
307
                    C4::OAI::Sets::UpdateOAISetsBiblio( $biblionumber, $record );
307
                    C4::OAI::Sets::UpdateOAISetsBiblio( $biblionumber, $record );
308
                }
308
                }
309
310
                _after_biblio_action_hooks( { action => 'create', biblio_id => $biblionumber } );
311
312
                logaction( "CATALOGUING", "ADD", $biblionumber, "biblio" ) if C4::Context->preference("CataloguingLog");
313
314
            }
309
            }
315
        );
310
        );
316
311
312
        _after_biblio_action_hooks( { action => 'create', biblio_id => $biblionumber } );
313
        logaction( "CATALOGUING", "ADD", $biblionumber, "biblio" ) if C4::Context->preference("CataloguingLog");
314
317
        # We index now, after the transaction is committed
315
        # We index now, after the transaction is committed
318
        unless ($skip_record_index) {
316
        unless ($skip_record_index) {
319
            my $indexer = Koha::SearchEngine::Indexer->new( { index => $Koha::SearchEngine::BIBLIOS_INDEX } );
317
            my $indexer = Koha::SearchEngine::Indexer->new( { index => $Koha::SearchEngine::BIBLIOS_INDEX } );
320
- 

Return to bug 36542