mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Use 'search' operation to improve search accuracy
This commit is contained in:
parent
03c4d87cb9
commit
4102c4bda2
9 changed files with 13 additions and 13 deletions
|
|
@ -804,7 +804,7 @@ class commentModel extends comment
|
|||
case 'content' :
|
||||
if($search_keyword)
|
||||
{
|
||||
$search_keyword = str_replace(' ', '%', $search_keyword);
|
||||
$search_keyword = trim(utf8_normalize_spaces($search_keyword));
|
||||
}
|
||||
|
||||
$args->s_content = $search_keyword;
|
||||
|
|
@ -960,7 +960,7 @@ class commentModel extends comment
|
|||
case 'content' :
|
||||
if($search_keyword)
|
||||
{
|
||||
$search_keyword = str_replace(' ', '%', $search_keyword);
|
||||
$search_keyword = trim(utf8_normalize_spaces($search_keyword));
|
||||
}
|
||||
|
||||
$args->s_content = $search_keyword;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue