[open-ils-commits] r17478 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Sep 3 15:00:10 EDT 2010
Author: erickson
Date: 2010-09-03 15:00:05 -0400 (Fri, 03 Sep 2010)
New Revision: 17478
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
Log:
repaired thinko in hold targeting org-unit max-loops check
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm 2010-09-03 17:35:00 UTC (rev 17477)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm 2010-09-03 19:00:05 UTC (rev 17478)
@@ -1338,7 +1338,7 @@
$current_loop++ if (!@keepers);
- if ($self->{max_loops}{$pu_lib} && $self->{max_loops}{$pu_lib} <= $current_loop) {
+ if ($self->{max_loops}{$pu_lib} && $self->{max_loops}{$pu_lib} >= $current_loop) {
# We haven't exceeded max_loops yet
my @keeper_copies;
for my $cp ( @$all_copies ) {
More information about the open-ils-commits
mailing list