Added a field to the barcodes sql search, now it returns the holding branch as well.
This commit is contained in:
parent
65161a7928
commit
772d5bc36c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue