Alexey Boroda
/
kristal-estet
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code ยป
Commit
c8e0676fcb41ee8245ef2c8cf20e561706507182
Authored by
Alexey Boroda
2017-10-27 15:43:31 +0300
1 parent
40282c41
-Category status
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
frontend/widgets/BlogSidebar.php
Inline
Side-by-side
frontend/widgets/BlogSidebar.php
Wrap text
Show/Hide comments
View file @
c8e0676
...
...
@@ -27,7 +27,7 @@
27
27
28
28
$this->categories = Category::find()
29
29
->with('lang.alias')
30
-
->innerJoinWith('articles'
)
30
+
->where(['status' => true]
)
31
31
->all();
32
32
33
33
$this->tags = Tag::find()
...
...