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

更新帖子排序

parent 46020da7
...@@ -403,7 +403,7 @@ router.get('/threads/list', function(req, res, next) { ...@@ -403,7 +403,7 @@ router.get('/threads/list', function(req, res, next) {
var title = req.query.title; var title = req.query.title;
var sortBy = { var sortBy = {
top:-1, top:-1,
top_order_idx:-1, // top_order_idx:-1,
topTime:-1, topTime:-1,
tag_top:-1, tag_top:-1,
tag_topTime:-1, tag_topTime:-1,
...@@ -455,7 +455,7 @@ router.get('/threads/list', function(req, res, next) { ...@@ -455,7 +455,7 @@ router.get('/threads/list', function(req, res, next) {
new_recommend_order_idx:-1, new_recommend_order_idx:-1,
new_recommend_time:-1, new_recommend_time:-1,
top:-1, top:-1,
top_order_idx:-1, // top_order_idx:-1,
topTime:-1, topTime:-1,
tag_top:-1, tag_top:-1,
tag_topTime:-1, tag_topTime:-1,
......
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