From 479492726a33221fbe5209ddd15de9fd6a480dd8 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Fri, 6 Dec 2019 22:17:34 -0600 Subject: [PATCH] results for blacklist search --- app/Http/Controllers/Blacklist/BlacklistController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Http/Controllers/Blacklist/BlacklistController.php b/app/Http/Controllers/Blacklist/BlacklistController.php index 09283d209..a7691c05b 100644 --- a/app/Http/Controllers/Blacklist/BlacklistController.php +++ b/app/Http/Controllers/Blacklist/BlacklistController.php @@ -116,9 +116,9 @@ class BlacklistController extends Controller 'parameter' => 'required', ]); - $blacklistName = DB::table('alliance_blacklist')->where('name', 'like', $request->parameter)->get(); - $blacklistAlt = DB::table('alliance_blacklist')->where('alts', 'like', $request->parameter)->get(); - $blacklistReason = DB::table('alliance_blacklist')->where('reason', 'like', $request->paraemter)->get(); + $blacklistName = DB::table('alliance_blacklist')->where('name', 'like', $request->parameter . "%")->get(); + $blacklistAlt = DB::table('alliance_blacklist')->where('alts', 'like', $request->parameter . "%")->get(); + $blacklistReason = DB::table('alliance_blacklist')->where('reason', 'like', $request->paraemter . "%")->get(); $blacklist = new BlacklistUser;