]> git.koha-community.org Git - koha.git/commit
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)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 29 Jul 2022 17:21:23 +0000 (17:21 +0000)
commit248dc2787eaa496dfd1c0984fab49d8d76efc6fd
treea48a02023f70181f692a576e7199384b03b4a1f9
parent2ad8c15dbf41e738f7cc14adcd23befdf053a62a
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>
Koha/Biblio.pm
t/db_dependent/Koha/Biblio.t