Bugzilla – Attachment 66909 Details for
Bug 19120
Order cancelled status is reset on basket open
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19120: Leave cancelled ordered items alone when reopening basket
Bug-19120-Leave-cancelled-ordered-items-alone-when.patch (text/plain), 1.03 KB, created by
Alex Buckley
on 2017-09-07 05:24:28 UTC
(
hide
)
Description:
Bug 19120: Leave cancelled ordered items alone when reopening basket
Filename:
MIME Type:
Creator:
Alex Buckley
Created:
2017-09-07 05:24:28 UTC
Size:
1.03 KB
patch
obsolete
>From ac9faa62748de3f7192ef8d6771bac8edd8039ad Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Fri, 1 Sep 2017 21:23:20 -0400 >Subject: [PATCH] Bug 19120: Leave cancelled ordered items alone when reopening > basket > >TEST PLAN >--------- >1) Apply first patch >2) prove t/db_dependent/Acquisition/close_reopen_basket.t > -- FAILS >3) Apply this patch >4) prove t/db_dependent/Acquisition/close_reopen_basket.t > -- SUCCESS! >5) run koha qa test tools > >Followed test plan, patch worked as described >Signed-off-by: Alex Buckley <alexbuckley@catalyst.net.nz> >--- > C4/Acquisition.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm >index d0381ce..a319936 100644 >--- a/C4/Acquisition.pm >+++ b/C4/Acquisition.pm >@@ -264,7 +264,7 @@ sub ReopenBasket { > UPDATE aqorders > SET orderstatus = 'new' > WHERE basketno = ? >- AND orderstatus != 'complete' >+ AND orderstatus NOT IN ( 'complete', 'cancelled' ) > }, {}, $basketno); > return; > } >-- >2.1.4
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 19120
:
66786
|
66787
|
66908
|
66909
|
67436
|
67437