Fixed dead features.

This commit is contained in:
2021-02-25 13:51:37 +01:00
parent 232fc86560
commit 0b97231292
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ class PostController extends Controller
->orWhere("posts.text", "LIKE", "%{$search}%")
->orWhere("statuses.name", "LIKE", "%{$search}%")
->orWhere("occupations.name", "LIKE", "%{$search}%")
->andWhere("statuses.name", "NOT", "Pending")
->where("statuses.name", "NOT", "Pending")
->get();
return view("index", [ "posts" => $posts]);