projects
/
working
/
NCIPServer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7e1187d
)
Fix checkoutitem in NCIP::ILS::Evergreen.
author
Jason Stephenson
<jason@sigio.com>
Sat, 11 Oct 2014 20:20:07 +0000
(16:20 -0400)
committer
Jason Stephenson
<jason@sigio.com>
Sat, 11 Oct 2014 20:20:07 +0000
(16:20 -0400)
Even though, the function documentation for checkout(.full) says
a copy object works, it apparently doesn't, so I switched to using
the copy_id parameter with $copy->id().
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
7f71e51
..
01f1ea4
100644
(file)
--- a/
lib/NCIP/ILS/Evergreen.pm
+++ b/
lib/NCIP/ILS/Evergreen.pm
@@
-809,7
+809,7
@@
sub checkoutitem {
# the user is not allowed to check out this item, without getting
# into details.
my $params = {
- copy
=> $copy
,
+ copy
_id => $copy->id()
,
patron_id => $user->id(),
};
my $r = $U->simplereq(