Bug 9755 QA follow-up: move MARC-specific functionality to utility class
authorJared Camins-Esakov <jcamins@cpbibliography.com>
Thu, 30 May 2013 10:23:43 +0000 (06:23 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 23 Jul 2013 23:10:21 +0000 (23:10 +0000)
commit56ea0f7e0fc91d46e98f94ff9f3f87eb12b82c8b
tree7692430fcee782e8bbafb99c3b89c08e42bf9389
parent50fb4612ed573dd180c5e98e7d6e83c4265817f0
Bug 9755 QA follow-up: move MARC-specific functionality to utility class

This follow-up moves all the MARC-specific functionality of Koha::Record
(now renamed to Koha::MetadataRecord) to a Koha::Util::MARC utility class.

To test, run relevant unit tests:
> prove t/Koha_MetadataRecord.t t/Koha_Util_MARC.t t/db_dependent/Koha_Authority.t
and optionally try to merge a record.

Signed-off-by: Mathieu Saby <mathieu.saby@univ-rennes2.fr>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Koha/Authority.pm
Koha/MetadataRecord.pm [new file with mode: 0644]
Koha/Record.pm [deleted file]
Koha/Util/MARC.pm [new file with mode: 0644]
cataloguing/merge.pl
t/Koha_MetadataRecord.t [new file with mode: 0755]
t/Koha_Record.t [deleted file]
t/Koha_Util_MARC.t [new file with mode: 0755]