From 215218618595c40759bb3eccb23f9f827e712e7f Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Thu, 24 May 2012 12:37:33 -0400 Subject: [PATCH] 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 --- Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm | 1 + 1 file changed, 1 insertion(+) 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 []; } -- 2.11.0