[open-ils-commits] r18858 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Nov 29 14:46:51 EST 2010
Author: miker
Date: 2010-11-29 14:46:47 -0500 (Mon, 29 Nov 2010)
New Revision: 18858
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
Log:
logic error (inversion) in retargetting of previous copy when no other holds are looking at it
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm 2010-11-29 17:45:56 UTC (rev 18857)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm 2010-11-29 19:46:47 UTC (rev 18858)
@@ -1454,7 +1454,7 @@
$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,
More information about the open-ils-commits
mailing list