Merge pull request #1116 from pixelfed/frontend-ui-refactor

Update SearchController
pull/1120/head v0.8.5
daniel 2019-04-03 03:05:01 -06:00 zatwierdzone przez GitHub
commit 0f35547471
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

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