Commit 7f5c3aa18a7489f37f16ef7b5f7349c29e534347
1 parent
01f58a20
Catalog end
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
models/ProductFrontendSearch.php
... | ... | @@ -109,7 +109,7 @@ class ProductFrontendSearch extends Product { |
109 | 109 | } |
110 | 110 | |
111 | 111 | $query->select(['product.*']); |
112 | - $query->joinWith(['enabledVariants','brand','options', 'category']); | |
112 | + $query->joinWith(['enabledVariants.lang','brand','options', 'category']); | |
113 | 113 | |
114 | 114 | $query->groupBy(['product.id', 'product_variant.price']); |
115 | 115 | ... | ... |