Commit dcca7225 authored by 杨翌文's avatar 杨翌文

xiugai

parent 3b4d0d37
......@@ -728,7 +728,7 @@ function getAllThreadByFidHelp(conditions, pageNo, pageSize, sort, callback) {
callback(err, null);
} else {
var skip = (pageNo - 1) * pageSize;
var limit = count - skip > pageSize ? pageSize : (count - skip);
var limit = pageSize;
var sortBy = '-topTime -tag_topTime -quality -created';
if (sort) {
sortBy = sort;
......
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