From 3aad0103857860200fec4301689796ad612a6355 Mon Sep 17 00:00:00 2001 From: sushi Date: Wed, 12 Jul 2006 14:30:07 +0000 Subject: [PATCH] adding aqorders.ordernumber to histsearch(), so so user can click url to ordernuber record via .tmpl. --- C4/Acquisition.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm index 54bf90d7bd..3edf80d0e8 100644 --- a/C4/Acquisition.pm +++ b/C4/Acquisition.pm @@ -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 .= -- 2.39.5