From 313918204b7bd9b8b36928da8b7da0f2c383d6c9 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Mon, 14 Nov 2016 18:42:52 +0200 Subject: [PATCH] full commit --- widgets/Seo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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