Fix for a bug in full acquisitions basket.pl
authorrangi <rangi>
Mon, 6 Jun 2005 23:29:36 +0000 (23:29 +0000)
committerrangi <rangi>
Mon, 6 Jun 2005 23:29:36 +0000 (23:29 +0000)
Ordernumber not showing

C4/Acquisition.pm

index 1c5fbae..ddebef8 100644 (file)
@@ -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