Lines 461-471
sub marcrecord2csv {
Link Here
|
461 |
# Getting the record |
461 |
# Getting the record |
462 |
my $biblio = Koha::Biblios->find($biblionumber); |
462 |
my $biblio = Koha::Biblios->find($biblionumber); |
463 |
return unless $biblio; |
463 |
return unless $biblio; |
464 |
my $record = eval { |
464 |
my $record = eval { $biblio->metadata_record( { embed_items => 1, itemnumbers => $itemnumbers } ); }; |
465 |
$biblio->metadata->record( |
|
|
466 |
{ embed_items => 1, itemnumbers => $itemnumbers } ); |
467 |
}; |
468 |
return unless $record; |
465 |
return unless $record; |
|
|
466 |
|
469 |
# Getting the framework |
467 |
# Getting the framework |
470 |
my $frameworkcode = $biblio->frameworkcode; |
468 |
my $frameworkcode = $biblio->frameworkcode; |
471 |
|
469 |
|
472 |
- |
|
|