Commit 7e19d695 authored by lixiaofang's avatar lixiaofang

add

parent 1159c241
......@@ -929,7 +929,6 @@ class TopicUtils(object):
},
})
elif sort_by == TOPIC_SEARCH_SORT.REAL_VOTE_AEC:
logging.info("hhhhhhhhhhhhhhhhhhhhh")
sort_rule.append({
"related_billboard.real_vote_cnt": {
"order": "asc",
......@@ -944,7 +943,6 @@ class TopicUtils(object):
},
})
elif sort_by == TOPIC_SEARCH_SORT.REAL_VOTE_DESC:
logging.info("hhhhhhhhhh3333hhhhhhhhhhh")
sort_rule.append({
"related_billboard.real_vote_cnt": {
......@@ -960,8 +958,6 @@ class TopicUtils(object):
},
})
elif sort_by == TOPIC_SEARCH_SORT.VIRT_VOTE_AEC:
logging.info("hhhhhhhhhhghfhgdggerrhhhhhhhhhhh")
sort_rule.append({
"related_billboard.virt_vote_cnt": {
"order": "asc",
......@@ -975,8 +971,6 @@ class TopicUtils(object):
},
})
elif sort_by == TOPIC_SEARCH_SORT.VIRT_VOTE_DESC:
logging.info("hhhhhhhhhhhhheeeeeeehhhhhhhh")
sort_rule.append({
"related_billboard.virt_vote_cnt": {
"order": "desc",
......@@ -1048,9 +1042,6 @@ class TopicUtils(object):
}
if 'pictorial_id' in filters.keys():
logging.info("get picotirial:%s" % filters["pictorial_id"])
logging.info("get picotirial:%s" % sorts_by)
if sorts_by:
sorts = cls.process_sort(sorts_by, filters["pictorial_id"])
if sorts:
......
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