[open-ils-commits] [GIT] Evergreen ILS branch master updated. 70d25de2bdd7837f3740769495655b9922e6397c

Evergreen Git git at git.evergreen-ils.org
Thu Jul 11 09:46:22 EDT 2013


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  70d25de2bdd7837f3740769495655b9922e6397c (commit)
      from  4e030f77264f7f7a11029a4390bc4ec990d65829 (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 70d25de2bdd7837f3740769495655b9922e6397c
Author: Thomas Berezansky <tsbere at mvlc.org>
Date:   Thu May 24 12:37:33 2012 -0400

    SIP2: Return slightly more hold info
    
    We don't have a normal hold queue, but if there is a hold we can call that
    the hold queue. So return the ID of the hold that was captured.
    
    Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm
index 59e97d0..a2523e1 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm
@@ -391,6 +391,7 @@ sub owner {
 
 sub hold_queue {
     my $self = shift;
+    return [$self->{hold}->id] if $self->{hold};
     return [];
 }
 

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list