[open-ils-commits] [GIT] Evergreen ILS branch rel_2_2 updated. 002d505c43861b186e899ae617f9373d0b63424b
Evergreen Git
git at git.evergreen-ils.org
Wed Dec 19 14:42:02 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_2 has been updated
via 002d505c43861b186e899ae617f9373d0b63424b (commit)
from 0b7ce9a6f0b416403f56e549c1410ff4fa01f8bf (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 002d505c43861b186e899ae617f9373d0b63424b
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>
Conflicts:
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
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 3b46e8c..3f9c2e9 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
@@ -94,6 +94,9 @@ sub test_and_create_hold_batch {
'open-ils.circ.title_hold.is_possible')->run($auth, $params);
}
if ($override || $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