Update API profile search request to match updated fulltext index definition
This commit is contained in:
parent
3939800068
commit
b7eab197b5
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class Search
|
|||
$query .= '%';
|
||||
$sql_where = '`' . $field . '` LIKE :query';
|
||||
} else {
|
||||
$sql_where = "MATCH (p.`name`, p.`pdesc`, p.`profile_url`, p.`locality`, p.`region`, p.`country`, p.`tags` )
|
||||
$sql_where = "MATCH (p.`name`, p.`pdesc`, p.`username`, p.`locality`, p.`region`, p.`country`, p.`tags` )
|
||||
AGAINST (:query IN BOOLEAN MODE)";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue