Commit 2cbab915424c8204a769539593a5ba6932e0a7e4
1 parent
08b5c1c4
search in blog, comments
Showing
1 changed file
with
7 additions
and
7 deletions
Show diff stats
models/CommentModelSearch.php
@@ -142,7 +142,7 @@ | @@ -142,7 +142,7 @@ | ||
142 | // grid filtering conditions | 142 | // grid filtering conditions |
143 | $query->andFilterWhere( | 143 | $query->andFilterWhere( |
144 | [ | 144 | [ |
145 | - 'id' => $this->id, | 145 | + 'artbox_comment.id' => $this->id, |
146 | 'created_at' => $this->created_at, | 146 | 'created_at' => $this->created_at, |
147 | 'updated_at' => $this->updated_at, | 147 | 'updated_at' => $this->updated_at, |
148 | 'deleted_at' => $this->deleted_at, | 148 | 'deleted_at' => $this->deleted_at, |
@@ -156,42 +156,42 @@ | @@ -156,42 +156,42 @@ | ||
156 | $query->andFilterWhere( | 156 | $query->andFilterWhere( |
157 | [ | 157 | [ |
158 | 'like', | 158 | 'like', |
159 | - 'text', | 159 | + 'artbox_comment.text', |
160 | $this->text, | 160 | $this->text, |
161 | ] | 161 | ] |
162 | ) | 162 | ) |
163 | ->andFilterWhere( | 163 | ->andFilterWhere( |
164 | [ | 164 | [ |
165 | 'like', | 165 | 'like', |
166 | - 'username', | 166 | + 'artbox_comment.username', |
167 | $this->username, | 167 | $this->username, |
168 | ] | 168 | ] |
169 | ) | 169 | ) |
170 | ->andFilterWhere( | 170 | ->andFilterWhere( |
171 | [ | 171 | [ |
172 | 'like', | 172 | 'like', |
173 | - 'email', | 173 | + 'artbox_comment.email', |
174 | $this->email, | 174 | $this->email, |
175 | ] | 175 | ] |
176 | ) | 176 | ) |
177 | ->andFilterWhere( | 177 | ->andFilterWhere( |
178 | [ | 178 | [ |
179 | 'like', | 179 | 'like', |
180 | - 'ip', | 180 | + 'artbox_comment.ip', |
181 | $this->ip, | 181 | $this->ip, |
182 | ] | 182 | ] |
183 | ) | 183 | ) |
184 | ->andFilterWhere( | 184 | ->andFilterWhere( |
185 | [ | 185 | [ |
186 | 'like', | 186 | 'like', |
187 | - 'entity', | 187 | + 'artbox_comment.entity', |
188 | $this->entity, | 188 | $this->entity, |
189 | ] | 189 | ] |
190 | ) | 190 | ) |
191 | ->andFilterWhere( | 191 | ->andFilterWhere( |
192 | [ | 192 | [ |
193 | 'like', | 193 | 'like', |
194 | - 'info', | 194 | + 'artbox_comment.info', |
195 | $this->info, | 195 | $this->info, |
196 | ] | 196 | ] |
197 | ) | 197 | ) |