Bugzilla – Attachment 79729 Details for
Bug 21385
Vendor search: Item count is incorrectly updated on partial receive
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21385: (follow-up) make query consistent
Bug-21385-follow-up-make-query-consistent.patch (text/plain), 1.13 KB, created by
Jonathan Druart
on 2018-10-01 14:59:19 UTC
(
hide
)
Description:
Bug 21385: (follow-up) make query consistent
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-10-01 14:59:19 UTC
Size:
1.13 KB
patch
obsolete
>From 5126d485f2778d3b0e6edbc87b4960606db7f6a1 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Mon, 24 Sep 2018 13:33:59 +0100 >Subject: [PATCH] Bug 21385: (follow-up) make query consistent > >The expected items query wasn't consistent with other queries in this >module with regards to identifying cancelled orders > >Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > C4/Acquisition.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm >index 6a15e2ccac..d635a49e79 100644 >--- a/C4/Acquisition.pm >+++ b/C4/Acquisition.pm >@@ -700,7 +700,7 @@ sub GetBasketsInfosByBookseller { > COUNT(DISTINCT aqorders.biblionumber) AS total_biblios, > SUM( > IF(aqorders.datereceived IS NULL >- AND aqorders.datecancellationprinted IS NULL >+ AND (aqorders.datecancellationprinted IS NULL OR aqorders.datecancellationprinted='0000-00-00') > , aqorders.quantity > , 0) > ) AS expected_items >-- >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 21385
:
79235
|
79280
|
79301
|
79303
|
79304
|
79305
|
79362
|
79363
|
79364
|
79365
|
79721
|
79727
|
79728
| 79729 |
79730