mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 21:43:17 +00:00
Merge pull request #865 from pixelfed/frontend-ui-refactor
Update SearchController
This commit is contained in:
commit
17163c260a
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