Koha::Authority::MergeRequest - Koha::Object class for single need_merge_authorities record
use Koha::Authority::MergeRequest;
Description
$self->new({
authid => $id,
[ authid_new => $new, ]
[ oldrecord => $marc, ]
});
authid refers to the old authority id,
authid_new optionally refers to a new different authority id
oldrecord is the MARC record belonging to the original authority record
This method returns an object and initializes the reportxml property.
my $record = $self->oldmarc;
Convert reportxml back to MARC::Record.
my $xml = Koha::Authority::MergeRequest->reporting_tag_xml({
record => $record, tag => $tag,
});
Returns name of corresponding DBIC resultset
Marcel de Rooy (Rijksmuseum)
Koha Development Team