From: Thomas Berezansky Date: Thu, 24 May 2012 16:37:33 +0000 (-0400) Subject: SIP2: Return slightly more hold info X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=70d25de2bdd7837f3740769495655b9922e6397c;p=evergreen%2Fequinox.git 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 Signed-off-by: Ben Shum --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm index 59e97d07db..a2523e11a9 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 []; }