Closed the-toxic closed 6 years ago
Filter not work. /backend/forms/Blog/CommentSearch.php
Not correct: $query->andFilterWhere([ 'id' => $this->id, 'post_id' => $this->post_id, ]);
$query->andFilterWhere([ 'id' => $this->id, 'post_id' => $this->post_id, ]);
Need: $query->andFilterWhere([ 'id' => $this->id, 'active' => $this->active, ]);
$query->andFilterWhere([ 'id' => $this->id, 'active' => $this->active, ]);
Fixed. Thanks!
Filter not work. /backend/forms/Blog/CommentSearch.php
Not correct:
$query->andFilterWhere([ 'id' => $this->id, 'post_id' => $this->post_id, ]);
Need:
$query->andFilterWhere([ 'id' => $this->id, 'active' => $this->active, ]);