[open-ils-commits] r19702 - branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Mar 11 15:23:22 EST 2011
Author: erickson
Date: 2011-03-11 15:23:17 -0500 (Fri, 11 Mar 2011)
New Revision: 19702
Modified:
branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm
Log:
use the existing util method for mvr-izing, since it handles some additional important steps (e.g. capturing doc_id)
Modified: branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm
===================================================================
--- branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm 2011-03-11 20:21:06 UTC (rev 19701)
+++ branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm 2011-03-11 20:23:17 UTC (rev 19702)
@@ -1791,10 +1791,8 @@
$mods->author($copy->dummy_author);
} else {
- my $u = OpenILS::Utils::ModsParser->new();
- $u->start_mods_batch($circ->target_copy->call_number->record->marc);
- $mods = $u->finish_mods_batch();
- }
+ $mods = $U->record_to_mvr($circ->target_copy->call_number->record);
+ }
# more de-fleshiing
$circ->target_copy($circ->target_copy->id);
More information about the open-ils-commits
mailing list