projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65161a7
)
Added a field to the barcodes sql search, now it returns the holding branch as well.
author
finlayt
<finlayt>
Thu, 3 Oct 2002 03:56:10 +0000
(
03:56
+0000)
committer
finlayt
<finlayt>
Thu, 3 Oct 2002 03:56:10 +0000
(
03:56
+0000)
C4/Search.pm
patch
|
blob
|
history
diff --git
a/C4/Search.pm
b/C4/Search.pm
index
642d6ab
..
1e14d20
100755
(executable)
--- a/
C4/Search.pm
+++ b/
C4/Search.pm
@@
-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);