From: Jason Boyer Date: Fri, 25 Apr 2014 16:45:34 +0000 (-0400) Subject: LP1312824 open-ils.circ.hold.change_title fix X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=fff64f40a896d451eff959cf5517bc03d279510c;p=working%2FEvergreen.git 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 Signed-off-by: Kathy Lussier --- 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 1825c71580..87e1baf6be 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm @@ -4037,6 +4037,7 @@ sub change_hold_title { my $holds = $e->search_action_hold_request( [ { + capture_time => undef, cancel_time => undef, fulfillment_time => undef, hold_type => 'T', @@ -4073,6 +4074,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',