projects
/
koha_gimpoz
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88f7f51
)
fix for #410
author
tipaul
<tipaul>
Thu, 24 Apr 2003 18:28:40 +0000
(18:28 +0000)
committer
tipaul
<tipaul>
Thu, 24 Apr 2003 18:28:40 +0000
(18:28 +0000)
C4/Catalogue.pm
patch
|
blob
|
history
diff --git
a/C4/Catalogue.pm
b/C4/Catalogue.pm
index
188ef31
..
6ec26b6
100644
(file)
--- a/
C4/Catalogue.pm
+++ b/
C4/Catalogue.pm
@@
-834,7
+834,7
@@
aqbooksellers table in the Koha database.
sub bookseller {
my ($searchstring)=@_;
my $dbh = C4::Context->dbh;
- my $query="Select * from aqbooksellers where name like '
%
$searchstring%' or
+ my $query="Select * from aqbooksellers where name like '$searchstring%' or
id = '$searchstring'";
my $sth=$dbh->prepare($query);
$sth->execute;