diff --git a/models/ProductFrontendSearch.php b/models/ProductFrontendSearch.php index 9f3175e..47c6e3e 100755 --- a/models/ProductFrontendSearch.php +++ b/models/ProductFrontendSearch.php @@ -118,7 +118,8 @@ $query = $category->getProducts(); } else { - $query = Product::find(); + $query = Product::find() + ->joinWith(['category','category.lang']); } $query->select([ 'product.*' ]); -- libgit2 0.21.4