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