results for blacklist search

This commit is contained in:
2019-12-06 22:14:51 -06:00
parent 45763a4223
commit 8459660d90

View File

@@ -151,7 +151,7 @@ class BlacklistController extends Controller
//If the count for the blacklist is greater than 0, then get the details, and send it to the view //If the count for the blacklist is greater than 0, then get the details, and send it to the view
if($blacklistCount > 0) { if($blacklistCount > 0) {
//Try to find the user in the blacklist //Try to find the user in the blacklist
$blacklist = BlacklistUser::where('name', 'like', $request->name)->get(); $blacklist = DB::table('alliance_blacklist')->where('name', 'like', $request->name)->get();
//Send the data to the view //Send the data to the view
return view('blacklist.list')->with('blacklist', $blacklist) return view('blacklist.list')->with('blacklist', $blacklist)