adding aqorders.ordernumber to histsearch(), so so user can click url to ordernuber...
authorsushi <sushi>
Wed, 12 Jul 2006 14:30:07 +0000 (14:30 +0000)
committersushi <sushi>
Wed, 12 Jul 2006 14:30:07 +0000 (14:30 +0000)
C4/Acquisition.pm

index 54bf90d..3edf80d 100644 (file)
@@ -1013,7 +1013,7 @@ sub histsearch {
     if ( $title || $author || $name || $from_placed_on || $to_placed_on ) {
         my $dbh   = C4::Context->dbh;
         my $query =
-"select biblio.title,biblio.author,aqorders.basketno,name,aqbasket.creationdate,aqorders.datereceived, aqorders.quantity, aqorders.quantityreceived, aqorders.ecost from aqorders,aqbasket,aqbooksellers,biblio";
+"select biblio.title,biblio.author,aqorders.basketno,name,aqbasket.creationdate,aqorders.datereceived, aqorders.quantity, aqorders.quantityreceived, aqorders.ecost, aqorders.ordernumber from aqorders,aqbasket,aqbooksellers,biblio";
         $query .= ",borrowers "
           if ( C4::Context->preference("IndependantBranches") );
         $query .=