This commit is contained in:
barisusakli
2016-03-22 09:47:29 +02:00
parent e0155534d5
commit e694bd8ab5
2 changed files with 8 additions and 3 deletions

View File

@@ -65,6 +65,9 @@ tagsController.getTags = function(req, res, next) {
if (err) {
return next(err);
}
tags = tags.filter(function(tag) {
return tag && tag.score > 0;
});
var data = {
tags: tags,
nextStart: 100,