I’m using mongodb for ActiveRecord.
in my search model I had
$query->andFilterWhere(['like', 'name', '/'.$this->name.'/i']);
and it was works fine.it’s broken now.
if I change it to
$query->andFilterWhere(['like', 'name', $this->name]);
works fine but it’s case-sensitive.