From: miker Date: Thu, 1 Nov 2007 03:59:51 +0000 (+0000) Subject: forward porting hold re-targeting fix X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0f15eca40cc5eb2aea3dd4af769d3286dc7fc347;p=Evergreen.git forward porting hold re-targeting fix git-svn-id: svn://svn.open-ils.org/ILS/trunk@7954 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm index 83d0d0bb98..65e0eebcb5 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm @@ -818,6 +818,7 @@ sub new_hold_copy_targeter { $log->info("Processing hold ".$hold->id."...\n"); #first, re-fetch the hold, to make sure it's not captured already + $hold->remove_from_object_index(); $hold = action::hold_request->retrieve( $hold->id ); die "OK\n" if (!$hold or $hold->capture_time);