Bugzilla – Attachment 74275 Details for
Bug 19030
Link order <-> subscription is lost when an order is edited
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19030: Preserve link between order and subscription when editing an order
Bug-19030-Preserve-link-between-order-and-subscrip.patch (text/plain), 1.20 KB, created by
Jonathan Druart
on 2018-04-16 20:46:18 UTC
(
hide
)
Description:
Bug 19030: Preserve link between order and subscription when editing an order
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-04-16 20:46:18 UTC
Size:
1.20 KB
patch
obsolete
>From 96602846dbc4fc59eec4a36a94b530ddcd6a21bf Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19030
:
65457
|
74275
|
74285
|
74313
|
74378
|
74603