diff --git a/widgets/Seo.php b/widgets/Seo.php index aef370c..3bdc0ed 100644 --- a/widgets/Seo.php +++ b/widgets/Seo.php @@ -39,7 +39,7 @@ class Seo extends Widget $this->url = \Yii::$app->request->url; $this->project_name = \Yii::$app->name; if(empty(self::$optionsList)){ - self::$optionsList = ArrayHelper::getColumn(TaxGroup::find()->where(['is_filter' => 'TRUE'])->all(),'alias'); + self::$optionsList = ArrayHelper::getColumn(TaxGroup::find()->joinWith('lang')->where(['is_filter' => 'TRUE'])->asArray()->all(),'alias'); } parent::init(); -- libgit2 0.21.4