Commit 7c051468 authored by 陈家荣's avatar 陈家荣

Merge branch 'bugfix_0329_sort' into SANDBOX

parents 4c73d84f 474b6f0f
...@@ -2109,7 +2109,7 @@ router.get('/thread/getThreadWithNotPopulateComment/hot', function(req, res, nex ...@@ -2109,7 +2109,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