Hi, is it possible to add a secondary sorting column using defaultOrder in CActiveDataProvider?
In my model i currently have this:
return new ActiveDataProvider($this, array(
'criteria' => $criteria,
'sort' => array(
'defaultOrder' => array(
'date' => true // Would be nice to add something like this here: 'date, id' => true
)
),
'pagination' => array(
'pageSize' => 20
),
));
Thanks!