specifying table order to have aqorders.notes and not biblio.notes in {notes} field

This commit is contained in:
tipaul 2005-06-06 16:36:43 +00:00
parent 60065a759d
commit 2c93c97578
1 changed files with 1 additions and 1 deletions

View File

@ -562,7 +562,7 @@ sub ordersearch {
my @searchterms = ($id);
map { push(@searchterms,"$_%","% $_%") } @data;
push(@searchterms,$search,$search,$biblio);
my $sth=$dbh->prepare("Select *,biblio.title from aqorders,biblioitems,biblio,aqbasket
my $sth=$dbh->prepare("Select biblio.*,biblioitems.*,aqorders.*,aqbasket.*,biblio.title from aqorders,biblioitems,biblio,aqbasket
where aqorders.biblioitemnumber = biblioitems.biblioitemnumber and
aqorders.basketno = aqbasket.basketno
and aqbasket.booksellerid = ?