Update SearchController

This commit is contained in:
Daniel Supernault 2019-02-21 23:10:26 -07:00
parent 74268874ca
commit 030ec4b825
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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();