Commit 83ccbaceb83b332bdc6e335924fdbfb3d54bcab1

Authored by Yarik
1 parent 89fac7e6

Another one admin fix

Showing 1 changed file with 0 additions and 4 deletions   Show diff stats
frontend/controllers/FilterController.php
@@ -120,7 +120,6 @@ @@ -120,7 +120,6 @@
120 $dataProvider->pagination = false; 120 $dataProvider->pagination = false;
121 $query = $dataProvider->query; 121 $query = $dataProvider->query;
122 $query->with('variants.lang') 122 $query->with('variants.lang')
123 - ->joinWith('lang', true, 'INNER JOIN')  
124 ->joinWith('brand.lang') 123 ->joinWith('brand.lang')
125 ->joinWith('options.lang') 124 ->joinWith('options.lang')
126 ->joinWith('categories.lang') 125 ->joinWith('categories.lang')
@@ -152,7 +151,6 @@ @@ -152,7 +151,6 @@
152 'tax_option.tax_option_id' => $id, 151 'tax_option.tax_option_id' => $id,
153 'tax_group.tax_group_id' => 5, 152 'tax_group.tax_group_id' => 5,
154 ]) 153 ])
155 - ->joinWith('lang', true, 'INNER JOIN')  
156 ->one(); 154 ->one();
157 if(empty( $model )) { 155 if(empty( $model )) {
158 throw new NotFoundHttpException(); 156 throw new NotFoundHttpException();
@@ -172,7 +170,6 @@ @@ -172,7 +170,6 @@
172 ->where([ 170 ->where([
173 'category.category_id' => $id, 171 'category.category_id' => $id,
174 ]) 172 ])
175 - ->joinWith('lang', true, 'INNER JOIN')  
176 ->one(); 173 ->one();
177 if(empty( $model )) { 174 if(empty( $model )) {
178 throw new NotFoundHttpException(); 175 throw new NotFoundHttpException();
@@ -195,7 +192,6 @@ @@ -195,7 +192,6 @@
195 ->where([ 192 ->where([
196 'brand.brand_id' => $id, 193 'brand.brand_id' => $id,
197 ]) 194 ])
198 - ->joinWith('lang', true, 'INNER JOIN')  
199 ->one(); 195 ->one();
200 if(empty( $model )) { 196 if(empty( $model )) {
201 throw new NotFoundHttpException(); 197 throw new NotFoundHttpException();