https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37061

--- Comment #12 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 211549
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211549&action=edit
Bug 37061: Allow SimpleMARC to copy from a donor record

Koha::SimpleMARC reads and writes the same record. Some uses need a donor
record, that is never changed, to build another one: the data of a host
record to build the link field of its component part for example.

Let copy_field and copy_and_replace_field take an optional donor record. The
values are read from the donor, the field numbers are the ones of the donor,
and the record is the only one that is changed. Nothing changes when there is
no donor.

To test:
1. prove t/SimpleMARC.t

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to