mirror of https://github.com/jumpserver/jumpserver
parent
2c74c8a8df
commit
d7442b4879
|
@ -27,7 +27,7 @@ def log_list(request, offset):
|
|||
posts = Log.objects.filter(is_finished=False).order_by('-start_time')
|
||||
if keyword:
|
||||
posts = posts.filter(Q(user__icontains=keyword) | Q(host__icontains=keyword) |
|
||||
Q(login_type_icontains=keyword))
|
||||
Q(login_type__icontains=keyword))
|
||||
|
||||
elif offset == 'exec':
|
||||
posts = ExecLog.objects.all().order_by('-id')
|
||||
|
|
Loading…
Reference in New Issue