Propagate $inst_id to checkout handler
authorJoe Atzberger <atz@esilibrary.com>
Thu, 3 Jun 2010 20:45:14 +0000 (20:45 +0000)
committerThomas Berezansky <tsbere@mvlc.org>
Thu, 3 Jun 2010 20:45:14 +0000 (20:45 +0000)
Needed for holds routing logic

Sip/MsgType.pm

index 0b96813..d01a9a8 100644 (file)
@@ -647,7 +647,7 @@ sub handle_checkin {
         syslog("LOG_WARNING", "received no-block checkin from terminal '%s'", $account->{id});
         $status = $ils->checkin_no_block($item_id, $trans_date, $return_date, $item_props, $cancel);
     } else {
-        $status = $ils->checkin($item_id, $trans_date, $return_date, $current_loc, $item_props, $cancel);
+        $status = $ils->checkin($item_id, $inst_id, $trans_date, $return_date, $current_loc, $item_props, $cancel);
     }
 
     $patron = $status->patron;