Commit 68ddd42aefa96ad0a893601663f01c86dce02a50

Authored by Anastasia
1 parent e88bbe2d

search in blog, comments

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
@@ -89,7 +89,7 @@ @@ -89,7 +89,7 @@
89 // grid filtering conditions 89 // grid filtering conditions
90 $query->andFilterWhere( 90 $query->andFilterWhere(
91 [ 91 [
92 - 'id' => $this->id, 92 + 'blog_tag.id' => $this->id,
93 ] 93 ]
94 ); 94 );
95 95