backport redis view count fix

This commit is contained in:
Barış Soner Uşaklı
2016-01-08 13:21:23 +02:00
parent 34a725c9da
commit b0e3cfcd6d

View File

@@ -270,7 +270,7 @@ function getHourlyStatsForSet(set, hour, numHours, callback) {
}
hoursArr.forEach(function(term, index) {
terms[term] = counts[index] || 0;
terms[term] = parseInt(counts[index], 10) || 0;
});
var termsArr = [];