rabin 5 年之前
父节点
当前提交
660c92166e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Database.php

+ 1 - 1
src/Database.php

@@ -503,7 +503,7 @@ class Database
                     if (strpos($v['search'], 'fulltext') !== false) {
                         $config['manage']['search']['fulltext'][$k] = $v['name'];
 
-                        isset($v['match']) && $config['request']['list']['option'][$k] = array('option', 'like');
+                        isset($v['match']) && $config['request']['list']['option'][$k] = array('option', 'like_score');
                     } elseif (strpos($v['search'], 'text') !== false) {
                         $config['manage']['search']['text'][$k] = $v['name'];
                     }