From ec29c316c03c412aafde59e8757a4449c4978cbc Mon Sep 17 00:00:00 2001 From: Jason Boyer Date: Fri, 25 Apr 2014 12:45:34 -0400 Subject: [PATCH] LP1312824 open-ils.circ.hold.change_title fix Add a capture_time => undef limit to both change_title APIs to prevent currently captured holds from being reset when moving holds from one title to another. More work is needed to prevent items currently in transit from having their transits canceled. Signed-off-by: Jason Boyer --- Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm index 9de0fca24e..6cc36a9319 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm @@ -3967,6 +3967,7 @@ sub change_hold_title { my $holds = $e->search_action_hold_request( [ { + capture_time => undef, cancel_time => undef, fulfillment_time => undef, hold_type => 'T', @@ -4003,6 +4004,7 @@ sub change_hold_title_for_specific_holds { my $holds = $e->search_action_hold_request( [ { + capture_time => undef, cancel_time => undef, fulfillment_time => undef, hold_type => 'T', -- 2.11.0