fix for buggy SQL

This commit is contained in:
tipaul 2006-08-03 13:11:37 +00:00
parent 210afd6036
commit ca9381cb47
1 changed files with 1 additions and 1 deletions

View File

@ -504,7 +504,7 @@ sub getallorders {
my $dbh = C4::Context->dbh;
my @results = ();
my $strsth ="Select authorisedby,creationdate,aqbasket.basketno,
closedate,surname,firstname,aqorders.biblionumber,aqorders.title,aqorders.author,aqorders.isbn, aqorders.ordernumber, quantity, quantityreceived
closedate,surname,firstname,aqorders.biblionumber,aqorders.title, aqorders.ordernumber, quantity, quantityreceived
from aqorders
left join aqbasket on aqbasket.basketno=aqorders.basketno
left join borrowers on aqbasket.authorisedby=borrowers.borrowernumber