[open-ils-commits] r17479 - branches/rel_2_0/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:41 EDT 2010
Author: erickson
Date: 2010-09-03 15:00:37 -0400 (Fri, 03 Sep 2010)
New Revision: 17479
Modified:
branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
Log:
repaired thinko in hold targeting org-unit max-loops check
Modified: branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
===================================================================
--- branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm 2010-09-03 19:00:05 UTC (rev 17478)
+++ branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm 2010-09-03 19:00:37 UTC (rev 17479)
@@ -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