_query = call_user_func( [ $this->model, 'find', ] ); $this->_search = new Search( [ 'model' => $this->model, 'hasLanguage' => $this->hasLanguage, 'controllerId' => $this->controller->id, ] ); if ($this->hasLanguage) { $this->_query->joinWith('language'); } $this->parseColumns(); \artbox\core\admin\assets\Index::register($this->controller->view); } }