Код: Выделить всё
$query->andFilterWhere(['like', 'tz.name', $this->name])
Код: Выделить всё
$query->andFilterWhere(['ilike', 'tz.name', $this->name])
Код: Выделить всё
$query->andFilterWhere(['=', 'tz.name', $this->name])
Можно будет обойтись без регуляро по типу таких $query->andFilterWhere(['REGEX', 'name', '/'.$this->name.'/i'])?