Skip to content

Commit

Permalink
Update views.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuler committed Mar 25, 2016
1 parent 2c74c8a commit d7442b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jlog/views.py
Expand Up @@ -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')
Expand Down

0 comments on commit d7442b4

Please sign in to comment.