mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
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')
|
||||
->whereNull('status')
|
||||
->whereNull('domain')
|
||||
->where('username', 'like', '%'.$tag.'%')
|
||||
->orWhere('remote_url', $tag)
|
||||
//->orWhere('remote_url', $tag)
|
||||
->limit(20)
|
||||
->get();
|
||||
|
||||
|
|
Loading…
Reference in a new issue