From 91c31e5eb7e1afcca2f020770c89bc3776696b11 Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Wed, 21 Dec 2011 16:51:48 -0500 Subject: [PATCH] SIP2: Fix transit home on checkin The Checkin doesn't need a destination_loc, but the item needs it set. Signed-off-by: Thomas Berezansky Signed-off-by: Sarah E. Chodrow --- Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/Checkin.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/Checkin.pm b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/Checkin.pm index cee4fc5dcb..ecafcc3cf0 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/Checkin.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/Checkin.pm @@ -22,7 +22,6 @@ my %fields = ( # 3M extensions: (most of the data is stored under Item) # collection_code => undef, # call_number => undef, - destination_loc => undef, alert_type => undef, # 00,01,02,03,04 or 99 # hold_patron_id => undef, # hold_patron_name => "", @@ -139,7 +138,7 @@ sub do_checkin { $resp->{org} &&= OpenILS::SIP::shortname_from_id($resp->{org}); # Convert id to shortname - $self->destination_loc($resp->{org}) if $resp->{org}; + $self->item->destination_loc($resp->{org}) if $resp->{org}; if ($txt eq 'ROUTE_ITEM') { # Note, this alert_type will be overridden below if this is a hold transit -- 2.43.2