diff --git a/app/Http/Controllers/AuditLogController.php b/app/Http/Controllers/AuditLogController.php index ab419cc45..7cab6540e 100644 --- a/app/Http/Controllers/AuditLogController.php +++ b/app/Http/Controllers/AuditLogController.php @@ -46,7 +46,7 @@ class AuditLogController extends Controller $query->where('created_at', '<=', $listDetails['date_to']); } if ($listDetails['ip']) { - $query->where('ip', '=', $listDetails['ip']); + $query->where('ip', 'like', $listDetails['ip'] . "%"); } $activities = $query->paginate(100);