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 | 142 | // grid filtering conditions |
| 143 | 143 | $query->andFilterWhere( |
| 144 | 144 | [ |
| 145 | - 'id' => $this->id, | |
| 145 | + 'artbox_comment.id' => $this->id, | |
| 146 | 146 | 'created_at' => $this->created_at, |
| 147 | 147 | 'updated_at' => $this->updated_at, |
| 148 | 148 | 'deleted_at' => $this->deleted_at, |
| ... | ... | @@ -156,42 +156,42 @@ |
| 156 | 156 | $query->andFilterWhere( |
| 157 | 157 | [ |
| 158 | 158 | 'like', |
| 159 | - 'text', | |
| 159 | + 'artbox_comment.text', | |
| 160 | 160 | $this->text, |
| 161 | 161 | ] |
| 162 | 162 | ) |
| 163 | 163 | ->andFilterWhere( |
| 164 | 164 | [ |
| 165 | 165 | 'like', |
| 166 | - 'username', | |
| 166 | + 'artbox_comment.username', | |
| 167 | 167 | $this->username, |
| 168 | 168 | ] |
| 169 | 169 | ) |
| 170 | 170 | ->andFilterWhere( |
| 171 | 171 | [ |
| 172 | 172 | 'like', |
| 173 | - 'email', | |
| 173 | + 'artbox_comment.email', | |
| 174 | 174 | $this->email, |
| 175 | 175 | ] |
| 176 | 176 | ) |
| 177 | 177 | ->andFilterWhere( |
| 178 | 178 | [ |
| 179 | 179 | 'like', |
| 180 | - 'ip', | |
| 180 | + 'artbox_comment.ip', | |
| 181 | 181 | $this->ip, |
| 182 | 182 | ] |
| 183 | 183 | ) |
| 184 | 184 | ->andFilterWhere( |
| 185 | 185 | [ |
| 186 | 186 | 'like', |
| 187 | - 'entity', | |
| 187 | + 'artbox_comment.entity', | |
| 188 | 188 | $this->entity, |
| 189 | 189 | ] |
| 190 | 190 | ) |
| 191 | 191 | ->andFilterWhere( |
| 192 | 192 | [ |
| 193 | 193 | 'like', |
| 194 | - 'info', | |
| 194 | + 'artbox_comment.info', | |
| 195 | 195 | $this->info, |
| 196 | 196 | ] |
| 197 | 197 | ) | ... | ... |