Add missing column in profile fulltext index #62

Merged
MrPetovan merged 2 commits from task/39-search-match-username into stable 2020-09-27 14:46:57 +02:00
Showing only changes of commit b7eab197b5 - Show all commits

View file

@ -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)";
}