diff --git a/app/Http/Controllers/SearchController.php b/app/Http/Controllers/SearchController.php index 1b34e5e1..4f19a98c 100644 --- a/app/Http/Controllers/SearchController.php +++ b/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();