projects
/
evergreen
/
tadl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25d2fa1
)
SIP: Fix holds with zero volumes
author
Jeff Godin
<jgodin@tadl.org>
Sun, 22 May 2016 18:52:08 +0000
(14:52 -0400)
committer
Jeff Godin
<jgodin@tadl.org>
Sun, 22 May 2016 18:52:08 +0000
(14:52 -0400)
Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm
patch
|
blob
|
history
diff --git
a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm
b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm
index
99fcc43
..
39ba98e
100644
(file)
--- a/
Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm
+++ b/
Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm
@@
-574,6
+574,8
@@
sub find_copy_for_hold {
{idlist => 1}
);
+ return undef unless @$vol_ids;
+
return $e->search_asset_copy([
{call_number => $vol_ids, deleted => 'f'},
{limit => 1}