mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-02 15:30:06 +00:00
Search IP by partial-equal
This commit is contained in:
parent
2fd7b1f0d5
commit
72d19968dd
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class AuditLogController extends Controller
|
||||||
$query->where('created_at', '<=', $listDetails['date_to']);
|
$query->where('created_at', '<=', $listDetails['date_to']);
|
||||||
}
|
}
|
||||||
if ($listDetails['ip']) {
|
if ($listDetails['ip']) {
|
||||||
$query->where('ip', '=', $listDetails['ip']);
|
$query->where('ip', 'like', $listDetails['ip'] . "%");
|
||||||
}
|
}
|
||||||
|
|
||||||
$activities = $query->paginate(100);
|
$activities = $query->paginate(100);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue