[Koha-bugs] [Bug 30848] Introduce Koha::Filter::ExpandAuthorizedValues
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jun 6 12:27:03 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30848
Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #135422|0 |1
is obsolete| |
--- Comment #26 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 135708
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135708&action=edit
Bug 30848: Add an AuthorizedValues RecordProcessor filter
This patch introduces a RecordProcessor filter for MARC::Record objects
that replaces AV codes with AC descriptions in the MARC::Record passed to the
processor.
Target usage:
my $biblio = Koha::Biblios->find(
$biblio_id,
{ prefetch => [ metadata ] }
);
my $record = $biblio->metadata->record;
my $processor = Koha::RecordProcessor->new(
{
filters => ('ExpandAuthorizedValues'),
options => {
interface => 'opac',
frameworkcode => $biblio->frameworkcode
}
}
);
$processor->process( $record );
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list