protected function getFirstDefaults() { $defaults = array_merge(parent::getFirstDefaults(), array('orderType' => 'asc', 'maxPerPage' => 5)); if (!$this->getDefault('orderField') && $this->dmModule->getTable()->isSortable()) { $defaults['orderField'] = 'position'; } return $defaults; }
protected function getFirstDefaults() { return array_merge(parent::getFirstDefaults(), array('recordId' => null)); }