change ZoneModel->setIndexWordFilter
This commit is contained in:
parent
95f5246c7b
commit
ee7c25a175
@ -77,8 +77,8 @@ class ZoneModel extends Model
|
||||
//Index 검색용
|
||||
public function setIndexWordFilter(string $word)
|
||||
{
|
||||
$subquery = $this->db->table('cloudflarerecord')->select('zone_uid')->like('content', $word, 'both');
|
||||
$this->like('domain', $word, 'both'); //befor , after , both
|
||||
$subquery = $this->db->table('cloudflarerecord')->select('zone_uid')->where('content', $word, 'both');
|
||||
$this->orWhereIn('uid', $subquery);
|
||||
}
|
||||
public function setIndexDateFilter($start, $end)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user