From 0c376c1c03a40cdf46d4d78910436277e0114325 Mon Sep 17 00:00:00 2001 From: rangi Date: Mon, 6 Jun 2005 23:29:36 +0000 Subject: [PATCH] Fix for a bug in full acquisitions basket.pl Ordernumber not showing --- C4/Acquisition.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm index 1c5fbae378..ddebef8b74 100644 --- a/C4/Acquisition.pm +++ b/C4/Acquisition.pm @@ -104,7 +104,7 @@ number of elements in C<@orders>. sub getbasketcontent { my ($basketno,$supplier,$orderby)=@_; my $dbh = C4::Context->dbh; - my $query="Select *,biblio.title from aqorders,biblio,biblioitems + my $query="Select *,biblio.title,aqorders.ordernumber from aqorders,biblio,biblioitems left join aqorderbreakdown on aqorderbreakdown.ordernumber=aqorders.ordernumber where basketno='$basketno' and biblio.biblionumber=aqorders.biblionumber and biblioitems.biblioitemnumber -- 2.39.5