Commit 313918204b7bd9b8b36928da8b7da0f2c383d6c9
1 parent
e5f77089
full commit
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
widgets/Seo.php
@@ -39,7 +39,7 @@ class Seo extends Widget | @@ -39,7 +39,7 @@ class Seo extends Widget | ||
39 | $this->url = \Yii::$app->request->url; | 39 | $this->url = \Yii::$app->request->url; |
40 | $this->project_name = \Yii::$app->name; | 40 | $this->project_name = \Yii::$app->name; |
41 | if(empty(self::$optionsList)){ | 41 | if(empty(self::$optionsList)){ |
42 | - self::$optionsList = ArrayHelper::getColumn(TaxGroup::find()->where(['is_filter' => 'TRUE'])->all(),'alias'); | 42 | + self::$optionsList = ArrayHelper::getColumn(TaxGroup::find()->joinWith('lang')->where(['is_filter' => 'TRUE'])->asArray()->all(),'alias'); |
43 | } | 43 | } |
44 | 44 | ||
45 | parent::init(); | 45 | parent::init(); |