public static function getParametersForList($proxed) { $parameters = parent::getParametersForList($proxed); if (isset($parameters['order']['TYPE_ID'])) { $parameters['order']['TYPE.SORT'] = $parameters['order']['TYPE_ID']; unset($parameters['order']['TYPE_ID']); } return $parameters; }
public static function getParametersForList($proxed) { $parameters = parent::getParametersForList($proxed); if(isset($parameters['order']['TYPE_ID'])) // sorting by TYPE_ID, being set, should work in different way { $parameters['order']['TYPE.SORT'] = $parameters['order']['TYPE_ID']; unset($parameters['order']['TYPE_ID']); } return $parameters; }