Add clean_marc function to OpenILS::Utils::Normalize.
authorJason Stephenson <jstephenson@mvlc.org>
Wed, 9 Nov 2011 20:34:27 +0000 (15:34 -0500)
committerJason Stephenson <jstephenson@mvlc.org>
Wed, 7 Mar 2012 20:56:50 +0000 (15:56 -0500)
commit6237b1fafc84b76b2aa393f09c8a7aaca38d6ac5
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