Lines 447-453
RECORD: while ( ) {
Link Here
|
447 |
$biblioitemnumber = Koha::Biblios->find( $biblionumber )->biblioitem->biblioitemnumber; |
447 |
$biblioitemnumber = Koha::Biblios->find( $biblionumber )->biblioitem->biblioitemnumber; |
448 |
}; |
448 |
}; |
449 |
if ($update) { |
449 |
if ($update) { |
450 |
eval { ModBiblio( $record, $biblionumber, $framework, { overlay_context => { source => 'bulkmarcimport' } } ) }; |
450 |
eval { |
|
|
451 |
ModBiblio( |
452 |
$record, $biblionumber, $framework, |
453 |
{ overlay_context => { source => 'bulkmarcimport' }, skip_holds_queue => 1 } |
454 |
); |
455 |
}; |
451 |
if ($@) { |
456 |
if ($@) { |
452 |
warn "ERROR: Edit biblio $biblionumber failed: $@\n"; |
457 |
warn "ERROR: Edit biblio $biblionumber failed: $@\n"; |
453 |
printlog( { id => $id || $originalid || $biblionumber, op => "update", status => "ERROR" } ) if ($logfile); |
458 |
printlog( { id => $id || $originalid || $biblionumber, op => "update", status => "ERROR" } ) if ($logfile); |
Lines 528-534
RECORD: while ( ) {
Link Here
|
528 |
printlog({id=>$id||$originalid||$biblionumber, op=>"insertitem",status=>"ERROR"}) if ($logfile); |
533 |
printlog({id=>$id||$originalid||$biblionumber, op=>"insertitem",status=>"ERROR"}) if ($logfile); |
529 |
# if we failed because of an exception, assume that |
534 |
# if we failed because of an exception, assume that |
530 |
# the MARC columns in biblioitems were not set. |
535 |
# the MARC columns in biblioitems were not set. |
531 |
ModBiblioMarc( $record, $biblionumber ); |
536 |
ModBiblioMarc( $record, $biblionumber, { skip_holds_queue => 1 }); |
532 |
next RECORD; |
537 |
next RECORD; |
533 |
} else { |
538 |
} else { |
534 |
printlog({id=>$id||$originalid||$biblionumber, op=>"insertitem",status=>"ok"}) if ($logfile); |
539 |
printlog({id=>$id||$originalid||$biblionumber, op=>"insertitem",status=>"ok"}) if ($logfile); |
535 |
- |
|
|