protected function _prepareRequestParams(array $params) { // Добавляем id организации - обязательный параметр для всех запросов $params['aid'] = $this->my_id; $params = $this->_addParamsFromRequest($params, $_GET, array('ref_city' => 'ref_city')); $params = array_merge($this->params, $params); // Если в фильтре есть крупные города, то нужно убрать ref_city из запроса, иначе объекты в них не найдутся if ($this->getFilterDataLoaderConfig()->subregionsWithBig() and $this->hasParam('ref_city', $params) and $this->filter and $this->filter->getField('district')->getValue()) { unset($params['ref_city']); } return $params; }