Commit c9a67aea authored by 陈家荣's avatar 陈家荣

Merge branch 'newfunc_0510_forum_management' into SANDBOX

parents 6aacd129 8586daff
...@@ -908,7 +908,7 @@ router.get('/threadManagement/threads/:tid/comment/search', function(req, res, n ...@@ -908,7 +908,7 @@ router.get('/threadManagement/threads/:tid/comment/search', function(req, res, n
if(req.query.sort){//指定排序字段 if(req.query.sort){//指定排序字段
sort = {}; sort = {};
sort[req.query.sort] = asc; sort[req.query.sort] = asc;
sortBy['_id'] = -1; sort['_id'] = -1;
} }
var conditions = { var conditions = {
......
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