|
Lines 462-471
sub marcrecord2csv {
Link Here
|
| 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 { |
| 465 |
$biblio->metadata->record( |
465 |
$biblio->metadata_record({ embed_items => 1, itemnumbers => $itemnumbers } ); |
| 466 |
{ embed_items => 1, itemnumbers => $itemnumbers } ); |
|
|
| 467 |
}; |
466 |
}; |
| 468 |
return unless $record; |
467 |
return unless $record; |
|
|
468 |
|
| 469 |
# Getting the framework |
469 |
# Getting the framework |
| 470 |
my $frameworkcode = $biblio->frameworkcode; |
470 |
my $frameworkcode = $biblio->frameworkcode; |
| 471 |
|
471 |
|
| 472 |
- |
|
|