Changes
Title
unchanged
CGridView, CListView and CActiveDataProvider
Category
unchanged
Tutorials
Yii version
unchanged
Tags
unchanged
CGridView, CListView, CActiveDataProvider, filter, search, sort, pagination, ajax
Content
changed
[...]
$criteria->compare('address', $this->address, true);
...
return new CActiveDataProvider(get_class($this), array(
'criteria' => $criteria,
'sort' => array(
'defaultOrder' => 'name, address',
'attributes' => array(
'name' => array(
'asc' => 'name address',
'desc' => 'name desc, address',
),[...]