Explorar o código

Update SearchController

Daniel Supernault %!s(int64=6) %!d(string=hai) anos
pai
achega
8278224361
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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();