From 0f5cfac989d9ab815bf8eab5fae9d4a46dca06df Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 11 Mar 2011 20:20:43 +0000 Subject: [PATCH] use the existing util method for mvr-izing, since it handles some additional important steps (e.g. capturing doc_id) git-svn-id: svn://svn.open-ils.org/ILS/trunk@19700 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm index 842721c63..9b9bd139f 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm @@ -1795,10 +1795,8 @@ sub flesh_circ { $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); -- 2.11.0