Lines 308-314
sub _handle_one_result {
Link Here
|
308 |
if( $breedingid ){ |
308 |
if( $breedingid ){ |
309 |
my @kohafields = ('biblio.title','biblio.author','biblioitems.isbn','biblioitems.lccn','biblioitems.editionstatement'); |
309 |
my @kohafields = ('biblio.title','biblio.author','biblioitems.isbn','biblioitems.lccn','biblioitems.editionstatement'); |
310 |
push @kohafields, C4::Context->preference('marcflavour') eq "MARC21" ? 'biblio.copyrightdate' : 'biblioitems.publicationyear'; |
310 |
push @kohafields, C4::Context->preference('marcflavour') eq "MARC21" ? 'biblio.copyrightdate' : 'biblioitems.publicationyear'; |
311 |
$row = TransformMarcToKoha({ record => $marcrecord, kohafields => \@kohafields, limit_table => 'no_items' }); |
311 |
$row = C4::Biblio::TransformMarcToKoha({ record => $marcrecord, kohafields => \@kohafields, limit_table => 'no_items' }); |
|
|
312 |
$row->{biblionumber} = $bib; |
313 |
$row->{server} = $servhref->{servername}; |
314 |
$row->{breedingid} = $breedingid; |
312 |
$row->{isbn}=_isbn_replace($row->{isbn}); |
315 |
$row->{isbn}=_isbn_replace($row->{isbn}); |
313 |
$row = _add_custom_field_rowdata($row, $marcrecord); |
316 |
$row = _add_custom_field_rowdata($row, $marcrecord); |
314 |
} |
317 |
} |