1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-24 00:35:59 +00:00

Update SearchController

This commit is contained in:
Daniel Supernault 2019-04-03 03:04:05 -06:00
parent 7542434c3b
commit 8278224361
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -85,7 +85,8 @@ class SearchController extends Controller
->whereNull('status')
->where('id', '!=', Auth::user()->profile->id)
->where('username', 'like', '%'.$tag.'%')
->orWhere('remote_url', $tag)
->whereNull('domain')
//->orWhere('remote_url', $tag)
->limit(20)
->get();