You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my web application i'm using CActiveDataProvider with filtering. I also wanted to filter records by tags but can't find a solution to do it with behavior out of the box. Dirrrrrty hack to show idea is:
And in my controller code merge $criteria->mergeWith(Repo::model()->getFindByTagsCriteriaExt('yii, php')). The problem toTagsArray($tags) is used in taggedWith method not in getFindByTagsCriteria.
The text was updated successfully, but these errors were encountered:
In my web application i'm using CActiveDataProvider with filtering. I also wanted to filter records by tags but can't find a solution to do it with behavior out of the box. Dirrrrrty hack to show idea is:
And in my controller code merge $criteria->mergeWith(Repo::model()->getFindByTagsCriteriaExt('yii, php')). The problem toTagsArray($tags) is used in taggedWith method not in getFindByTagsCriteria.
The text was updated successfully, but these errors were encountered: