Add clean_marc function to OpenILS::Utils::Normalize. user/dyrcona/O-U-N-clean-marc
authorJason Stephenson <jstephenson@mvlc.org>
Wed, 9 Nov 2011 20:34:27 +0000 (15:34 -0500)
committerJason Stephenson <jstephenson@mvlc.org>
Tue, 31 Jan 2012 15:06:12 +0000 (10:06 -0500)
commite627c0dc59d90a02916ccf0a1888bff183827c58
tree7aa21c03516608535747cb35627401d327250973
parentc9a0a768c2220cca9e4564ddd5632b9ee3db64b2
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>
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