From cf910e93972bd16601e43e775a08f68e62898ed6 Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Sat, 11 Oct 2014 16:20:07 -0400 Subject: [PATCH] Fix checkoutitem in NCIP::ILS::Evergreen. 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 --- lib/NCIP/ILS/Evergreen.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/NCIP/ILS/Evergreen.pm b/lib/NCIP/ILS/Evergreen.pm index 7f71e51..01f1ea4 100644 --- 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( -- 2.43.2