[open-ils-commits] [GIT] Evergreen ILS branch master updated. 37e218b6b2183d929365ba52c61ecdc87b2417e1

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, master has been updated
       via  37e218b6b2183d929365ba52c61ecdc87b2417e1 (commit)
      from  8b1731f4e3c3ac953dae1d223a29732b8fda6599 (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 37e218b6b2183d929365ba52c61ecdc87b2417e1
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 734936f..ddfd0ad 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