mirror of
https://github.com/cnodejs/nodeclub.git
synced 2025-12-08 19:55:55 +00:00
无人回复的话题不显示dev区
This commit is contained in:
parent
c813ec5a79
commit
b65c32295e
@ -94,7 +94,7 @@ exports.index = function (req, res, next) {
|
||||
ep.emit('no_reply_topics', no_reply_topics);
|
||||
} else {
|
||||
Topic.getTopicsByQuery(
|
||||
{ reply_count: 0, tab: {$ne: 'job'}},
|
||||
{ reply_count: 0, tab: {$nin: ['job', 'dev']}},
|
||||
{ limit: 5, sort: '-create_at'},
|
||||
ep.done('no_reply_topics', function (no_reply_topics) {
|
||||
cache.set('no_reply_topics', no_reply_topics, 60 * 1);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user