mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-03 11:01:20 +01:00
1 more tag change
This commit is contained in:
@@ -31,9 +31,7 @@ module.exports = function(SocketTopics) {
|
||||
if (err) {
|
||||
return callback(err);
|
||||
}
|
||||
tags = tags.filter(function(tag) {
|
||||
return tag && tag.score > 0;
|
||||
});
|
||||
tags = tags.filter(Boolean);
|
||||
callback(null, {tags: tags, nextStart: stop + 1});
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user