_action, 'reorder')) { $this->_getDataObj()->addFilter(array_filter(Qs_Request::getGet())); } return $this; } protected function _getDefaultLinks() { $links = parent::_getDefaultLinks(); $filter = array_filter($this->_getFilterForm()->getValidationValues()); $links['reorder'] = [ 'title' => $links['reorder'], 'url' => $this->url(array_merge($filter, ['action' => 'reorder'])), ]; return $links; } protected function _getFilterFormOptions() { $options = parent::_getFilterFormOptions(); $years = $this->_getDataObj()->getYears(); $options['yearOptions'] = array_combine($years, $years); return $options; } }