diff --git a/controllers/site.js b/controllers/site.js index a1fddb0..8ddf75b 100644 --- a/controllers/site.js +++ b/controllers/site.js @@ -68,7 +68,7 @@ exports.index = function (req, res, next) { proxy.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'}, proxy.done('no_reply_topics', function (no_reply_topics) { cache.set('no_reply_topics', no_reply_topics, 60 * 1);