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

收藏帖子排序

parent 2f7c9a22
......@@ -2336,7 +2336,7 @@ router.get('/thread/getUserFavorThread/:type', function(req, res, next) {
conditions['event.eventStartTime'] = {$lte : today};
}
queryThread(conditions, pageNo, pageSize, null, function(err, results){
queryThread(conditions, pageNo, pageSize, '-created', function(err, results){
if(err){
console.error(err);
res.json(returnCode.BUSY);
......
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