Commit 474b6f0f authored by 陈家荣's avatar 陈家荣

修改排序条件

parent 44a7ab05
...@@ -2102,7 +2102,7 @@ router.get('/thread/getThreadWithNotPopulateComment/hot', function(req, res, nex ...@@ -2102,7 +2102,7 @@ router.get('/thread/getThreadWithNotPopulateComment/hot', function(req, res, nex
conditions.info = infoId; conditions.info = infoId;
} }
if(tagId){ if(tagId){
sort = "-tag_top -top_order_idx -quality -_id"; sort = "-tag_top -quality -_id";
conditions.tag={$in:[tagId]}; conditions.tag={$in:[tagId]};
} }
queryThread(conditions, pageNo, pageSize, sort, function(err, results){ queryThread(conditions, pageNo, pageSize, sort, function(err, results){
......
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