Update SearchController

pull/865/head
Daniel Supernault 6 years ago
parent 74268874ca
commit 030ec4b825
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

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

Loading…
Cancel
Save