From: Maxious Date: Sat, 22 Sep 2012 12:40:54 +0000 Subject: search fixes X-Git-Url: https://maxious.lambdacomplex.org/git/?p=contractdashboard.git&a=commitdiff&h=587330db1dc5f3c6fc5414d118b4e2ef18c14612 --- search fixes --- --- a/search_autosuggest.php +++ b/search_autosuggest.php @@ -47,7 +47,7 @@ ); } $query = "SELECT \"CNID\", description, value FROM contractnotice -WHERE to_tsvector('english', description) @@ to_tsquery('english', :input)"; +WHERE to_tsvector('english', description) @@ plaintoto_tsquery('english', :input)"; $query = $conn->prepare($query); $agencyName = $input . '%'; $query->bindParam(":input", $input);