[open-ils-commits] r18861 - branches/rel_1_6_1/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:48:08 EST 2010
Author: miker
Date: 2010-11-29 14:48:04 -0500 (Mon, 29 Nov 2010)
New Revision: 18861
Modified:
branches/rel_1_6_1/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: branches/rel_1_6_1/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
===================================================================
--- branches/rel_1_6_1/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm 2010-11-29 19:47:47 UTC (rev 18860)
+++ branches/rel_1_6_1/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm 2010-11-29 19:48:04 UTC (rev 18861)
@@ -1210,7 +1210,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