[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. ffd0f422c2decaf9418a1ce290006e7c7f6d17bd
Evergreen Git
git at git.evergreen-ils.org
Wed Dec 19 14:41:14 EST 2012
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_3 has been updated
via ffd0f422c2decaf9418a1ce290006e7c7f6d17bd (commit)
from fea6fbebeb9ba992ca3058bc6d013bca22d0ab37 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit ffd0f422c2decaf9418a1ce290006e7c7f6d17bd
Author: James Fournie <jfournie at sitka.bclibraries.ca>
Date: Tue Dec 18 12:45:51 2012 -0800
Check for a selection_depth returned from title_hold.is_possible.
See Launchpad 1064651 for details. This is a quick fix which solves a
fairly serious issue whereby copies outside of a hard boundary could fill
holds when they are placed within the TPAC in the staff client.
Signed-off-by: James Fournie <jfournie at sitka.bclibraries.ca>
Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
index 1dee0c3..2ea8403 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
@@ -93,6 +93,9 @@ sub test_and_create_hold_batch {
($res) = $self->method_lookup(
'open-ils.circ.title_hold.is_possible')->run($auth, $params, $override ? $oargs : {});
if ($res->{'success'} == 1) {
+
+ $params->{'depth'} = $res->{'depth'} if $res->{'depth'};
+
my $ahr = construct_hold_request_object($params);
my ($res2) = $self->method_lookup(
$override
-----------------------------------------------------------------------
Summary of changes:
.../perlmods/lib/OpenILS/Application/Circ/Holds.pm | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list