Commit 77e1e39b authored by 段英荣's avatar 段英荣

Merge branch 'test' into 'master'

Test

See merge request !222
parents a30cfb22 a2091eea
......@@ -218,11 +218,16 @@ def pictorial_topic_sort(pictorial_id=-1, offset=0, size=10):
q = {
"query":{
"term":{
"pictorial_id": pictorial_id}
"bool":{
"must":[
{"term":{"pictorial_id": pictorial_id}},
{"term": {"is_online": True}},
{"term": {"is_deleted": False}},
]
}
},
"sort":{
"vote_num":{"order":"desc"}
"total_vote_num":{"order":"desc"}
}
}
pict_pictorial_ids_list =[]
......
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