|
@@ -1180,7 +1180,7 @@ class ChatService implements ChatServiceInterface
|
|
|
$query->where(['chat_topics.type' => $data['type']]);
|
|
|
}
|
|
|
if(!empty($data['title'])){
|
|
|
- $query->where(['chat_topics.title','like','%'.$data['title'].'%']);
|
|
|
+ $query->where('chat_topics.title','like','%'.$data['title'].'%');
|
|
|
}
|
|
|
if(!empty($data['created_at'])){
|
|
|
$query->whereDate('chat_topics.created_at', $data['created_at']);
|