From 70699c52873652327744b999a369833fb6f5a2ed Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Thu, 8 Mar 2018 14:11:31 -0500 Subject: [PATCH] Lp#1411422: Clean up the code a little bit. We don't need to left join when we flesh fields. Signed-off-by: Jason Stephenson --- Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm index 4bc9a43217..f88cc45557 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm @@ -855,14 +855,6 @@ sub transfer_copies_to_volume { $copy = $editor->search_asset_copy([ { id => $copy_id , deleted => 'f' }, { - join => { - acpm => { - type => 'left', - join => { - bmp => { type => 'left' } - } - } - }, flesh => 1, flesh_fields => { acp => ['parts'] } } @@ -1401,14 +1393,6 @@ sub batch_volume_transfer { my $copies = $e->search_asset_copy([ { call_number => $vol->id , deleted => 'f' }, { - join => { - acpm => { - type => 'left', - join => { - bmp => { type => 'left' } - } - } - }, flesh => 1, flesh_fields => { acp => ['parts'] } } -- 2.11.0