I am trying to do this not just for a single relation, but a grandchild relation.
I have found these posts. But the solution suggested will only work with small tables as it involves bringing the entire table into PHP and sorting there.
Are there any better solutions to this?
Does anyone know why CGridView does not filter on relations? Is there some fundamental problem?