Update views.py

pull/176/head^2 0.3.0-beta
ibuler 9 years ago
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…
Cancel
Save