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>
Wed, 9 Nov 2011 21:04:11 +0000 (16:04 -0500)
commita7b2c1ee87e9853f6f7ae333a94fecadbf938c8f
tree88506aa170f6b80d251dfa66a5fdaa2d66d0643a
parentdae71513d8e48b01ff3fdc4b52cc67c723c32fea
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