From 030ec4b825c3099d582b5722f3706546ab39b4c6 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 21 Feb 2019 23:10:26 -0700 Subject: [PATCH] Update SearchController --- app/Http/Controllers/SearchController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/SearchController.php b/app/Http/Controllers/SearchController.php index 1b34e5e12..4f19a98cb 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();