[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. 35c47b6df891d2a88e77a29a35577b7e9a3249b2
Evergreen Git
git at git.evergreen-ils.org
Thu May 26 02:35:07 EDT 2011
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_1 has been updated
via 35c47b6df891d2a88e77a29a35577b7e9a3249b2 (commit)
from 48b0d264027cebc93f5250b3eeca8624bd35d338 (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 35c47b6df891d2a88e77a29a35577b7e9a3249b2
Author: Jason Etheridge <jason at esilibrary.com>
Date: Thu May 26 02:42:07 2011 -0400
wrong target for parts holds in open-ils.circ.holds.retrieve_all_from_title
Signed-off-by: Jason Etheridge <jason at esilibrary.com>
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 a84bb11..85d8486 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
@@ -2769,10 +2769,15 @@ sub all_rec_holds {
%$args
}, {idlist=>1} );
+ my $parts = $e->search_biblio_monograph_part(
+ {
+ record => $title_id
+ }, {idlist=>1} );
+
$resp->{part_holds} = $e->search_action_hold_request(
{
hold_type => OILS_HOLD_TYPE_MONOPART,
- target => $title_id,
+ target => $parts,
%$args
}, {idlist=>1} );
-----------------------------------------------------------------------
Summary of changes:
.../perlmods/lib/OpenILS/Application/Circ/Holds.pm | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list