mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-11 06:22:20 +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
|
|
@ -1317,7 +1317,7 @@ class documentModel extends document
|
|||
case 'tag' :
|
||||
case 'title_content' :
|
||||
$use_division = true;
|
||||
$search_keyword = str_replace(' ', '%', $search_keyword);
|
||||
$search_keyword = trim(utf8_normalize_spaces($search_keyword));
|
||||
if($search_target == 'title_content')
|
||||
{
|
||||
$args->s_title = $search_keyword;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue