I am trying to do a grid view filter on things like “>20” which I believe I was able to do in Yii 1. It doesn’t seem to work in Yii 2. I’ve tried a couple different ways:
$query->andFilterWhere([‘like’, ‘itemName’, $this->itemName]);
$query->andFilterWhere([‘itemName’ => $this->itemName]);
Anyone know how to accomplish this with Yii 2?