defaulting selection_ou to the pickup lib instead of home_ou of the recipient
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 15 Feb 2008 02:41:35 +0000 (02:41 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 15 Feb 2008 02:41:35 +0000 (02:41 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@8755 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm

index ae10c5b..348f421 100644 (file)
@@ -140,7 +140,7 @@ sub create_hold {
 
                $hold->requestor($e->requestor->id); 
                $hold->request_lib($e->requestor->ws_ou);
-               $hold->selection_ou($recipient->home_ou) unless $hold->selection_ou;
+               $hold->selection_ou($hold->pickup_lib) unless $hold->selection_ou;
                $hold = $e->create_action_hold_request($hold) or return $e->event;
        }