1
0
Daniel Supernault 6 жил өмнө
parent
commit
030ec4b825

+ 2 - 1
app/Http/Controllers/SearchController.php

@@ -70,8 +70,9 @@ class SearchController extends Controller
             }
             $users = Profile::select('username', 'name', 'id')
                 ->whereNull('status')
+                ->whereNull('domain')
                 ->where('username', 'like', '%'.$tag.'%')
-                ->orWhere('remote_url', $tag)
+                //->orWhere('remote_url', $tag)
                 ->limit(20)
                 ->get();