From 4b18c35c6f188d919578d295ad7084903fef6b85 Mon Sep 17 00:00:00 2001 From: tipaul Date: Thu, 24 Apr 2003 18:28:40 +0000 Subject: [PATCH] fix for #410 --- C4/Catalogue.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Catalogue.pm b/C4/Catalogue.pm index 188ef3128e..6ec26b6ddb 100644 --- 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; -- 2.39.5