From 7f5c3aa18a7489f37f16ef7b5f7349c29e534347 Mon Sep 17 00:00:00 2001 From: yarik Date: Mon, 14 Nov 2016 14:21:39 +0200 Subject: [PATCH] Catalog end --- models/ProductFrontendSearch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/ProductFrontendSearch.php b/models/ProductFrontendSearch.php index af4213c..3e0f5d5 100644 --- a/models/ProductFrontendSearch.php +++ b/models/ProductFrontendSearch.php @@ -109,7 +109,7 @@ class ProductFrontendSearch extends Product { } $query->select(['product.*']); - $query->joinWith(['enabledVariants','brand','options', 'category']); + $query->joinWith(['enabledVariants.lang','brand','options', 'category']); $query->groupBy(['product.id', 'product_variant.price']); -- libgit2 0.21.4