浏览代码

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

Update SearchController
daniel 6 年之前
父节点
当前提交
0f35547471
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      app/Http/Controllers/SearchController.php

+ 2 - 1
app/Http/Controllers/SearchController.php

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