projects
/
evergreen
/
pines.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e030f7
)
SIP2: Return slightly more hold info
author
Thomas Berezansky
<tsbere@mvlc.org>
Thu, 24 May 2012 16:37:33 +0000
(12:37 -0400)
committer
Ben Shum
<bshum@biblio.org>
Thu, 11 Jul 2013 13:46:09 +0000
(09:46 -0400)
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@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm
patch
|
blob
|
history
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
(file)
--- 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 [];
}