[open-ils-commits] r8753 -
branches/rel_1_2_1/Open-ILS/src/perlmods/OpenILS/Application/Circ
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Feb 14 22:10:16 EST 2008
Author: erickson
Date: 2008-02-14 21:40:35 -0500 (Thu, 14 Feb 2008)
New Revision: 8753
Modified:
branches/rel_1_2_1/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm
Log:
defaulting selection_ou to the pickup lib instead of home_ou of the recipient
Modified: branches/rel_1_2_1/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm
===================================================================
--- branches/rel_1_2_1/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm 2008-02-14 21:39:19 UTC (rev 8752)
+++ branches/rel_1_2_1/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm 2008-02-15 02:40:35 UTC (rev 8753)
@@ -140,7 +140,7 @@
$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;
# push( @copyholds, $hold ) if $hold->hold_type eq OILS_HOLD_TYPE_COPY;
}
More information about the open-ils-commits
mailing list