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=215218618595c40759bb3eccb23f9f827e712e7f;p=working%2FEvergreen.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 --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm index 71a823d4de..96a434afcf 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm @@ -388,6 +388,7 @@ sub owner { sub hold_queue { my $self = shift; + return [$self->{hold}->id] if $self->{hold}; return []; }