Fixed dead features.
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user