diff --git a/controllers/topic.js b/controllers/topic.js index 9f9ed16..fdd245f 100644 --- a/controllers/topic.js +++ b/controllers/topic.js @@ -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);