In my CActiveDataProvider method I have the following:
'criteria'=>array( 'condition'=>'subcats LIKE :subcats', 'params'=>array(':subcats'=>$_GET['id']), ),
At the time of running this script, $_GET['id'] is 1 but I don't get back any results for the above data list.
The query only needs to match one of the values in the data list. Furthermore it should match the *whole* value, i.e. 1 is OK but 11 or 21 is not OK.