From 70d25de2bdd7837f3740769495655b9922e6397c 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 Signed-off-by: Ben Shum --- 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 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 []; } -- 2.43.2