From 7c6e2e076c09097c72ebe1ff8efbbdafa6adebc8 Mon Sep 17 00:00:00 2001 From: miker Date: Thu, 1 Nov 2007 04:00:41 +0000 Subject: [PATCH] forward porting hold re-targeting fix git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@7955 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm | 1 + 1 file changed, 1 insertion(+) 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 cd69b4b0bd..2e069e7efa 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm @@ -786,6 +786,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); -- 2.11.0