Commit 83ccbaceb83b332bdc6e335924fdbfb3d54bcab1
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 | 120 | $dataProvider->pagination = false; |
121 | 121 | $query = $dataProvider->query; |
122 | 122 | $query->with('variants.lang') |
123 | - ->joinWith('lang', true, 'INNER JOIN') | |
124 | 123 | ->joinWith('brand.lang') |
125 | 124 | ->joinWith('options.lang') |
126 | 125 | ->joinWith('categories.lang') |
... | ... | @@ -152,7 +151,6 @@ |
152 | 151 | 'tax_option.tax_option_id' => $id, |
153 | 152 | 'tax_group.tax_group_id' => 5, |
154 | 153 | ]) |
155 | - ->joinWith('lang', true, 'INNER JOIN') | |
156 | 154 | ->one(); |
157 | 155 | if(empty( $model )) { |
158 | 156 | throw new NotFoundHttpException(); |
... | ... | @@ -172,7 +170,6 @@ |
172 | 170 | ->where([ |
173 | 171 | 'category.category_id' => $id, |
174 | 172 | ]) |
175 | - ->joinWith('lang', true, 'INNER JOIN') | |
176 | 173 | ->one(); |
177 | 174 | if(empty( $model )) { |
178 | 175 | throw new NotFoundHttpException(); |
... | ... | @@ -195,7 +192,6 @@ |
195 | 192 | ->where([ |
196 | 193 | 'brand.brand_id' => $id, |
197 | 194 | ]) |
198 | - ->joinWith('lang', true, 'INNER JOIN') | |
199 | 195 | ->one(); |
200 | 196 | if(empty( $model )) { |
201 | 197 | throw new NotFoundHttpException(); | ... | ... |