Commit 493821f0 authored by zhanglu's avatar zhanglu

filters过滤

parent 99951bc3
...@@ -621,8 +621,7 @@ class TopicUtils(object): ...@@ -621,8 +621,7 @@ class TopicUtils(object):
"term": {k: v}, "term": {k: v},
}) })
if v in (None, '', []):
if not v:
continue continue
if k in ["create_time_gte", "create_time_lte"]: if k in ["create_time_gte", "create_time_lte"]:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment