From 96602846dbc4fc59eec4a36a94b530ddcd6a21bf Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 16 Apr 2018 17:41:42 -0300 Subject: [PATCH] Bug 19030: Preserve link between order and subscription when editing an order The aqorders.subscriptionid info is not sent to the template when the order is edited. Which means we lose this link. Test plan: Create an order from a subscription Edit the order => Without this patch, the aqorders.subscriptionid value is set to NULL and items are created when receiving serial. => With this patch applied the link is preserved and expected behaviors are preserved during all the acquisition workflow --- acqui/neworderempty.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/acqui/neworderempty.pl b/acqui/neworderempty.pl index 54feb36f40..586ef241c9 100755 --- a/acqui/neworderempty.pl +++ b/acqui/neworderempty.pl @@ -261,6 +261,7 @@ else { #modify order $data = GetOrder($ordernumber); $biblionumber = $data->{'biblionumber'}; $budget_id = $data->{'budget_id'}; + $subscriptionid = $data->{subscriptionid}; $basket = GetBasket( $data->{'basketno'} ); $basketno = $basket->{'basketno'}; -- 2.11.0