Good day guys I have here a cgridview column containing a concatenated keywords from MANY_MANY related table. My problem is that when i tried to filter a specific keyword on the column it loads back an individual word what I wanted to have is the same concat words filtered with the specific keyword search. Thanks in advance this is my codes:
this is my relations
public function relations()
'shisDiagnosis' => array(self::MANY_MANY, 'ShisKeyword',
'shisKeywords' => array(self::MANY_MANY, 'ShisKeyword',
Over all this looks like the ‘Tag’ search in the Blog tutorial. Maybe you could look at that for some inspiration. Also I have found that if I want to search via a relation, I had to create a Model attribute for example
and I used that in the GridView Filter line. Sorry I don’t have my dev machine with me so I can’t explain more. I just searched google for 'Yii gridview sort multiple tables" or something like that.