From 048403a625dc22883abba5e905442b9b7d39a9da Mon Sep 17 00:00:00 2001 From: stes Date: Thu, 31 Aug 2017 15:06:24 +0300 Subject: [PATCH] search in blog, comments --- models/ArticleSearch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/ArticleSearch.php b/models/ArticleSearch.php index 6df673e..ce1948c 100755 --- a/models/ArticleSearch.php +++ b/models/ArticleSearch.php @@ -115,7 +115,7 @@ $query->andFilterWhere( [ 'blog_article.id' => $this->id, - 'status' => $this->status, + 'blog_article.status' => $this->status, 'author_id' => $this->author_id, ] ); -- libgit2 0.21.4