Like object, I’d like an help to allow cgridview sorting by a related field
Like object, I’d like an help to allow cgridview sorting by a related field
[list=1]
[*]Refer this wiki for filtering & sorting by calculated/related fields in GridView Yii 2.0.
[*]Refer this wiki for filtering & sorting by summary data from related models in GridView Yii 2.0.
[/list]
You tutorials are really great.
I hopw in Yii 2 GA, or Yii 2.1 there will be a more handly method.
Yes… you can try posting any improvements as an issue on GitHub.
btw: part of this is also available in the guide: http://stuff.cebe.cc/yii2docs/guide-output-data-widgets.html#working-with-model-relations