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>
Sun, 4 Mar 2012 07:39:42 +0000 (02:39 -0500)
commitcc227d5040e64d7254149881353d5398ad84b662
tree0fd7ca0ce3cd315ee2452b009cf92844a7f58f21
parent043aa913fc4233eaf6f96b46491ce7643acd396b
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