From 4914aca6f861c8721a814e447a59a925fae970dd Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Wed, 18 Apr 2012 15:06:46 +0200 Subject: [PATCH] Bug 7162: Fix booksellers.pl display Basket infos don't take cancelled orders into account anymore. --- C4/Acquisition.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm index cefdcfa..a815b4c 100644 --- a/C4/Acquisition.pm +++ b/C4/Acquisition.pm @@ -595,7 +595,7 @@ sub GetBasketsInfosByBookseller { ) AS expected_items FROM aqbasket LEFT JOIN aqorders ON aqorders.basketno = aqbasket.basketno - WHERE booksellerid = ? + WHERE booksellerid = ? AND aqorders.datecancellationprinted IS NULL GROUP BY aqbasket.basketno }; my $sth = $dbh->prepare($query); -- 1.7.2.5