Commit 68ddd42aefa96ad0a893601663f01c86dce02a50
1 parent
e88bbe2d
search in blog, comments
Showing
3 changed files
with
3 additions
and
3 deletions
Show diff stats
models/ArticleSearch.php
@@ -114,7 +114,7 @@ | @@ -114,7 +114,7 @@ | ||
114 | // grid filtering conditions | 114 | // grid filtering conditions |
115 | $query->andFilterWhere( | 115 | $query->andFilterWhere( |
116 | [ | 116 | [ |
117 | - 'id' => $this->id, | 117 | + 'blog_article.id' => $this->id, |
118 | 'status' => $this->status, | 118 | 'status' => $this->status, |
119 | 'author_id' => $this->author_id, | 119 | 'author_id' => $this->author_id, |
120 | ] | 120 | ] |
models/CategorySearch.php
@@ -96,7 +96,7 @@ | @@ -96,7 +96,7 @@ | ||
96 | // grid filtering conditions | 96 | // grid filtering conditions |
97 | $query->andFilterWhere( | 97 | $query->andFilterWhere( |
98 | [ | 98 | [ |
99 | - 'id' => $this->id, | 99 | + 'blog_category.id' => $this->id, |
100 | 'sort' => $this->sort, | 100 | 'sort' => $this->sort, |
101 | 'parent_id' => $this->parent_id, | 101 | 'parent_id' => $this->parent_id, |
102 | 'status' => $this->status, | 102 | 'status' => $this->status, |
models/TagSearch.php