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)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Fri, 12 Aug 2022 06:40:56 +0000 (08:40 +0200)
commitc8167ae70710cdd72c8fdbf48049bc54701bb91b
treea111e9224463898210d6260427eb4314d0def49d
parentf5b7ad6ef35aabda51e4e80decfb2732858aa631
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>
(cherry picked from commit 029d7bacf01ac9debe4ca21150d9c9c572f090da)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 248dc2787eaa496dfd1c0984fab49d8d76efc6fd)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
Koha/Biblio.pm
t/db_dependent/Koha/Biblio.t