rkljw пре 21 часа
родитељ
комит
d4a59202c0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/JsonRpc/ChatService.php

+ 1 - 1
app/JsonRpc/ChatService.php

@@ -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']);