I din’t check if the code of softart works but the
$criteria->with = array(‘category’=>array(‘with’=>‘groups’)); works at least for sorting case (I have some problem by search text - is float type)
Does someone know if the above code is tha same with
$criteria->with = array(‘category’, ‘category.groups’) ?
I realy didn’t know this way!