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