forked from mirror/pixelfed
Update SearchController
This commit is contained in:
parent
74268874ca
commit
030ec4b825
1 changed files with 2 additions and 1 deletions
|
@ -70,8 +70,9 @@ class SearchController extends Controller
|
||||||
}
|
}
|
||||||
$users = Profile::select('username', 'name', 'id')
|
$users = Profile::select('username', 'name', 'id')
|
||||||
->whereNull('status')
|
->whereNull('status')
|
||||||
|
->whereNull('domain')
|
||||||
->where('username', 'like', '%'.$tag.'%')
|
->where('username', 'like', '%'.$tag.'%')
|
||||||
->orWhere('remote_url', $tag)
|
//->orWhere('remote_url', $tag)
|
||||||
->limit(20)
|
->limit(20)
|
||||||
->get();
|
->get();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue