zilong %!s(int64=4) %!d(string=hai) anos
pai
achega
be82993563
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Community/Controllers/DocterChatController.php

+ 1 - 1
app/Community/Controllers/DocterChatController.php

xqd
@@ -53,7 +53,7 @@ class DocterChatController extends AdminController
 
         if (empty($docter_id)) {
             $docter_ids = DocterOrganization::where('organization_id', $org_id)->pluck('docter_id')->toArray();
-            $grid->model()->where($where)->whereIn('id', $docter_ids);
+            $grid->model()->where($where)->whereIn('docter_id', $docter_ids);
         }
         else {
             $grid->model()->where($where);