]> git.evergreen-ils.org Git - Evergreen.git/commit
Add clean_marc function to OpenILS::Utils::Normalize.
authorJason Stephenson <jstephenson@mvlc.org>
Wed, 9 Nov 2011 20:34:27 +0000 (15:34 -0500)
committerDan Scott <dscott@laurentian.ca>
Wed, 7 Mar 2012 21:02:43 +0000 (16:02 -0500)
commitd939d7d09f231319a59f7bc309b7e40c451f273e
treec41609bf99c77f21fc18dbbc77c912e10a3fe5a5
parenta0fdeb77d15a979d80d3f4ea2e83c3e46cfe4157
Add clean_marc function to OpenILS::Utils::Normalize.

Add a library function to clean up MARC records for how we like to
store them in the biblio.record_entry table. Having this in a library
will reduce code duplication.

Also, replace nearly identical code in OpenILS::Application::Vandelay
and OpenILS::Application::Acq::Order with calls to this new function.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm
Open-ILS/src/perlmods/lib/OpenILS/Utils/Normalize.pm