From: Thomas Berezansky Date: Tue, 13 Sep 2011 18:48:16 +0000 (-0400) Subject: Skip forced targeting of frozen holds X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c5cae2a3d5c94cc4a317c7747f6085c8ace82ece;p=working%2FEvergreen.git Skip forced targeting of frozen holds Otherwise a frozen hold can be manually retargeted by staff and captured. Signed-off-by: Thomas Berezansky --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm index 6a2b6d6d4d..02ce6b10b0 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm @@ -1053,7 +1053,7 @@ sub new_hold_copy_targeter { try { if ($one_hold) { $self->method_lookup('open-ils.storage.transaction.begin')->run( $client ); - $holds = [ action::hold_request->search_where( { id => $one_hold, fulfillment_time => undef, cancel_time => undef } ) ]; + $holds = [ action::hold_request->search_where( { id => $one_hold, fulfillment_time => undef, cancel_time => undef, frozen => 'f' } ) ]; } elsif ( $check_expire ) { # what's the retarget time threashold?