pickup_lib is an object. stringify to get the ID for the remote call
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 28 Oct 2009 19:52:58 +0000 (19:52 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 28 Oct 2009 19:52:58 +0000 (19:52 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14654 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm

index c8903a7..d7858d2 100644 (file)
@@ -1107,7 +1107,7 @@ sub new_hold_copy_targeter {
                                $log->debug("\tNothing at the pickup lib, looking elsewhere among ".scalar(@$all_copies)." copies");
 
                                my $max_loops = $actor->request(
-                                       'open-ils.actor.ou_setting.ancestor_default' => $hold->pickup_lib => 'circ.holds.max_org_unit_target_loops'
+                                       'open-ils.actor.ou_setting.ancestor_default' => $hold->pickup_lib.'' => 'circ.holds.max_org_unit_target_loops'
                                )->gather(1);
 
                                if (defined($max_loops)) {