projects
/
NCIPServer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cefd76b
)
More NCIP::ILS::Evergreen->requestitem() improvements.
author
Jason Stephenson
<jason@sigio.com>
Sat, 27 Sep 2014 16:51:18 +0000
(12:51 -0400)
committer
Jason Stephenson
<jason@sigio.com>
Sat, 27 Sep 2014 16:51:18 +0000
(12:51 -0400)
We check if item is a NCIP::Problem and return it if it is.
Signed-off-by: Jason Stephenson <jason@sigio.com>
lib/NCIP/ILS/Evergreen.pm
patch
|
blob
|
history
diff --git
a/lib/NCIP/ILS/Evergreen.pm
b/lib/NCIP/ILS/Evergreen.pm
index
82bd251
..
5d588b3
100644
(file)
--- a/
lib/NCIP/ILS/Evergreen.pm
+++ b/
lib/NCIP/ILS/Evergreen.pm
@@
-1075,6
+1075,9
@@
sub requestitem {
);
}
return $response;
+ } elsif (ref($item) eq 'NCIP::Problem') {
+ $response->problem($item);
+ return $response;
}
# See if we were given a PickupLocation.