From 173eb0fb2cfa3be5d703f44c6a0a49162b21668e Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Tue, 13 Sep 2011 14:48:16 -0400 Subject: [PATCH] Skip forced targeting of frozen holds Otherwise a frozen hold can be manually retargeted by staff and captured. Signed-off-by: Thomas Berezansky Signed-off-by: Lebbeous Fogle-Weekley --- .../lib/OpenILS/Application/Storage/Publisher/action.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 fb58c35407..6e3ea0116a 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 @@ -1041,7 +1041,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? -- 2.43.2