From 2523cc41056ea0f53810adf317ce1a742b921108 Mon Sep 17 00:00:00 2001 From: miker Date: Mon, 29 Nov 2010 19:47:20 +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/branches/rel_2_0@18859 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 85c726c991..47e743c092 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm @@ -1442,7 +1442,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