Commit 68ddd42aefa96ad0a893601663f01c86dce02a50

Authored by Anastasia
1 parent e88bbe2d

search in blog, comments

models/ArticleSearch.php
... ... @@ -114,7 +114,7 @@
114 114 // grid filtering conditions
115 115 $query->andFilterWhere(
116 116 [
117   - 'id' => $this->id,
  117 + 'blog_article.id' => $this->id,
118 118 'status' => $this->status,
119 119 'author_id' => $this->author_id,
120 120 ]
... ...
models/CategorySearch.php
... ... @@ -96,7 +96,7 @@
96 96 // grid filtering conditions
97 97 $query->andFilterWhere(
98 98 [
99   - 'id' => $this->id,
  99 + 'blog_category.id' => $this->id,
100 100 'sort' => $this->sort,
101 101 'parent_id' => $this->parent_id,
102 102 'status' => $this->status,
... ...
models/TagSearch.php
... ... @@ -89,7 +89,7 @@
89 89 // grid filtering conditions
90 90 $query->andFilterWhere(
91 91 [
92   - 'id' => $this->id,
  92 + 'blog_tag.id' => $this->id,
93 93 ]
94 94 );
95 95  
... ...