Commit 37de930b authored by 陈家荣's avatar 陈家荣

Merge branch 'newfunc_0510_forum_management' into SANDBOX

parents 0504b3ab a7a13c85
...@@ -923,12 +923,16 @@ router.get('/threadManagement/threads/:tid/comment/search', function(req, res, n ...@@ -923,12 +923,16 @@ router.get('/threadManagement/threads/:tid/comment/search', function(req, res, n
$options: 'i' $options: 'i'
}; };
} }
if(floor_start){ if(floor_start && floor_end){
conditions.floor = {
$gte:floor_start,
$lte:floor_end
};
}else if(floor_start){
conditions.floor = { conditions.floor = {
$gte:floor_start $gte:floor_start
}; };
} }else if(floor_end){
if(floor_end){
conditions.floor = { conditions.floor = {
$lte:floor_end $lte:floor_end
}; };
......
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