Hello, the problem is what I'm trying to do to
Pages::find()->all(); Two bases were displayed, common and language.
For some reason it does not work correctly:
public function all($db = null) { $this->select(['pages.*', '`pages_lang`.title']); $this->leftJoin('pages_lang', 'pages.id = pages_lang.page_id AND pages_lang.lang_id = '.Lang::getCurrent()['id']); return parent::all($db); } Only data from pages is displayed ....