Koha::Old::Biblio::Metadata - Koha Deleted Biblio Metadata Object class
my $record = $metadata->record;
Returns an object representing the metadata record. The expected record type corresponds to this table:
-------------------------------
| format | object type |
-------------------------------
| marcxml | MARC::Record |
-------------------------------
$record = $deleted_biblio->metadata->record({
{
embed_items => 0|1
itemnumbers => $itemnumbers,
opac => $opac
}
);
Koha::Old::Biblio::Metadata::record(
{
record => $record,
embed_items => 1,
biblionumber => $biblionumber,
itemnumbers => $itemnumbers,
opac => $opac
}
);
Given a MARC::Record object containing a bib record, modify it to include the items attached to it as 9XX per the bib's MARC framework. if $itemnumbers is defined, only specified itemnumbers are embedded.
If $opac is true, then opac-relevant suppressions are included.
If opac filtering will be done, patron should be passed to properly override if necessary.