Bug 30744: Use RecordProcessor in get_marc_notes
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 25 May 2022 14:51:41 +0000 (15:51 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 1 Jul 2022 12:17:22 +0000 (09:17 -0300)
commit029d7bacf01ac9debe4ca21150d9c9c572f090da
treefaf89f12cd305e0a5b8fa4a4f2064ec072a55f89
parent0efae9ed0565aac7ade8b9febfcd0e44fe35d420
Bug 30744: Use RecordProcessor in get_marc_notes

This patch utilises RecordProcessor to filter the MARC::Record for the
right interface prior to constructing the marc notes array.  We also
remove the use of C4::XSLT for replacing AV values in the MARC fields in
preference to using the RecordProcessor filter.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Biblio.pm
t/db_dependent/Koha/Biblio.t