From 82782243610e9d80c1d6407c101744d818869e80 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Wed, 3 Apr 2019 03:04:05 -0600 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 481f6c1b..b37ba581 100644 --- a/app/Http/Controllers/SearchController.php +++ b/app/Http/Controllers/SearchController.php @@ -85,7 +85,8 @@ class SearchController extends Controller ->whereNull('status') ->where('id', '!=', Auth::user()->profile->id) ->where('username', 'like', '%'.$tag.'%') - ->orWhere('remote_url', $tag) + ->whereNull('domain') + //->orWhere('remote_url', $tag) ->limit(20) ->get();