Added a field to the barcodes sql search, now it returns the holding branch as well.
authorfinlayt <finlayt>
Thu, 3 Oct 2002 03:56:10 +0000 (03:56 +0000)
committerfinlayt <finlayt>
Thu, 3 Oct 2002 03:56:10 +0000 (03:56 +0000)
C4/Search.pm

index 642d6ab..1e14d20 100755 (executable)
@@ -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);