Bug 32437: Add replace method to Koha::Import::Record objects
authorNick Clemens <nick@bywatersolutions.com>
Mon, 12 Dec 2022 18:13:25 +0000 (18:13 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 31 Mar 2023 11:13:26 +0000 (13:13 +0200)
commitecc92f92ca1569f20abbc4aa0cea3944d1cb4973
tree8413e42cf3fba69ddbc058c3137b77faec35a42e
parentf41f272ff087d65ed11d760e6c7c58818c3a24d4
Bug 32437: Add replace method to Koha::Import::Record objects

This patch adds a replace routine to Koha::Import::Record - largely
copying and updating code from C4::ImportBatch

To test:
prove t/db_dependent/Koha/Import/Records.t

Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Import/Record.pm
t/db_dependent/Koha/Import/Records.t