Commit 415b0086 authored by lixiaofang's avatar lixiaofang

最新tab

parents 991307f8 d064ecd6
......@@ -985,7 +985,6 @@ class TopicUtils(object):
}
},
})
elif isinstance(sorts_by, list):
for sort_by in sorts_by:
if sort_by == TOPIC_SEARCH_SORT.ID_AEC:
......@@ -1079,18 +1078,6 @@ class TopicUtils(object):
}
},
})
# elif sort_by == TOPIC_SEARCH_SORT.TOPIC_ADD_TIME:
# sort_rule.append({
# "related_billboard.topic_add_createtime": {
# "order": "desc",
# "nested_path": "related_billboard",
# "nested_filter": {
# "term": {
# "related_billboard.pictorial_id": pictorial_id
# }
# }
# },
# })
logging.info("get picotirial:%s" % sort_rule)
......
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