kpac : repair hold retrieval code
authorBill Erickson <berick@esilibrary.com>
Mon, 23 Apr 2012 19:43:46 +0000 (15:43 -0400)
committerMike Rylander <mrylander@gmail.com>
Mon, 30 Jul 2012 19:05:01 +0000 (15:05 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGKPacLoader.pm

index a0637cf..85269d3 100644 (file)
@@ -201,7 +201,7 @@ sub load_getit_results {
         }
     } else { 
         $e->xact_begin;
-        $ctx->{hold} = $e->retrieve_action_hold_request(8);
+        $ctx->{hold} = $e->retrieve_action_hold_request($hold_id);
         $e->xact_rollback;
     }