Added a field to the barcodes sql search, now it returns the holding branch as well.

This commit is contained in:
finlayt 2002-10-03 03:56:10 +00:00
parent 65161a7928
commit 772d5bc36c

View file

@ -2306,7 +2306,7 @@ sub barcodes{
#called from request.pl
my ($biblioitemnumber)=@_;
my $dbh=C4Connect;
my $query="SELECT barcode, itemlost FROM items
my $query="SELECT barcode, itemlost, holdingbranch FROM items
WHERE biblioitemnumber = ?
AND (wthdrawn <> 1 OR wthdrawn IS NULL)";
my $sth=$dbh->prepare($query);