https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37061 --- Comment #14 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211551 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211551&action=edit Bug 37061: Let MARC modification templates build a record from a donor record ModifyRecordWithTemplate modifies one record. Take an optional donor record, that is never changed, to build the record from it, for example the link field to a host record from the data of the host. With a donor: - the copy actions read the donor and write the record - the conditions are about the donor - {245a} in the value of an add or update action is replaced by that subfield of the donor, see Koha::SimpleMARC::interpolate_values - the other actions (add, update, move and delete) address the record Nothing changes when there is no donor, which is what the batch modification and the import do. To test: 1. prove t/db_dependent/MarcModificationTemplates.t 2. prove t/SimpleMARC.t -- You are receiving this mail because: You are watching all bug changes.