Commit c8e0676fcb41ee8245ef2c8cf20e561706507182

Authored by Alexey Boroda
1 parent 40282c41

-Category status

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
frontend/widgets/BlogSidebar.php
@@ -27,7 +27,7 @@ @@ -27,7 +27,7 @@
27 27
28 $this->categories = Category::find() 28 $this->categories = Category::find()
29 ->with('lang.alias') 29 ->with('lang.alias')
30 - ->innerJoinWith('articles') 30 + ->where(['status' => true])
31 ->all(); 31 ->all();
32 32
33 $this->tags = Tag::find() 33 $this->tags = Tag::find()