/** * Core-fix for multiple sort orders * * @param addiotional 'scope'=>array(field,order) - value is retrieved by (submitted) primary key * @return mixed * TODO: fix it */ protected function _findNeighbors($state, $query, $results = array()) { return parent::_findNeighbors($state, $query, $results); if (isset($query['scope'])) { //TODO } return parent::find($type, $options); }