From d0d712ab7ad6fa4c5bc9880f6e1bdf867f90dbe2 Mon Sep 17 00:00:00 2001 From: miker Date: Mon, 29 Nov 2010 19:46:47 +0000 Subject: [PATCH] logic error (inversion) in retargetting of previous copy when no other holds are looking at it git-svn-id: svn://svn.open-ils.org/ILS/trunk@18858 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 53c517a05..1e16addef 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm @@ -1454,7 +1454,7 @@ sub new_hold_copy_targeter { $log->debug("\tUpdating hold [".$hold->id."] with new 'current_copy' [".$best->id."] for hold fulfillment."); } elsif ( $old_best && - action::hold_request + !action::hold_request ->search_where( { current_copy => $old_best->id, fulfillment_time => undef, -- 2.11.0