Commit b6cbc9775daf70ce0cd0f1c9ae8a9da14fc30414
1 parent
15b6552f
Sitemap
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
console/SiteMapController.php
@@ -43,7 +43,7 @@ | @@ -43,7 +43,7 @@ | ||
43 | public function getVariants() | 43 | public function getVariants() |
44 | { | 44 | { |
45 | return Product::find() | 45 | return Product::find() |
46 | - ->with('enabledVariants.lang'); | 46 | + ->innerJoinWith('enabledVariants.lang'); |
47 | } | 47 | } |
48 | 48 | ||
49 | public function getSeoLinks() | 49 | public function getSeoLinks() |