Update API profile search request to match updated fulltext index definition
This commit is contained in:
parent
3939800068
commit
b7eab197b5
|
@ -47,7 +47,7 @@ class Search
|
||||||
$query .= '%';
|
$query .= '%';
|
||||||
$sql_where = '`' . $field . '` LIKE :query';
|
$sql_where = '`' . $field . '` LIKE :query';
|
||||||
} else {
|
} 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)";
|
AGAINST (:query IN BOOLEAN MODE)";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue