From 1ef952489b17ac2139d5aac0abd0fd7bb55e5f95 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 18 Feb 2021 08:42:48 +0000 Subject: [PATCH] Bug 24446: (QA follow-up) Set TransferTrigger to 'Reserve' for bug 24298 The SIP initiated transfer was set to use the 'TransferTrigger' passed back from AddReturn; However, TransferTrigger is not set for reserves in AddReturn (It's is set controller side by circ/returns.pl). We thus need to also hard code the trigger type in the SIP transaction for reserves. --- C4/SIP/ILS/Transaction/Checkin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/SIP/ILS/Transaction/Checkin.pm b/C4/SIP/ILS/Transaction/Checkin.pm index f674314e12..4792f73574 100644 --- a/C4/SIP/ILS/Transaction/Checkin.pm +++ b/C4/SIP/ILS/Transaction/Checkin.pm @@ -154,7 +154,7 @@ sub do_checkin { ModItemTransfer( $item->itemnumber, $branch, $messages->{ResFound}->{branchcode}, - $messages->{TransferTrigger}, + 'Reserve', ); } -- 2.20.1