Node.js based forum software built for the modern web
fix: tests
Barış Soner Uşaklı65d049c6f965
diff --git a/.travis.yml b/.travis.ymlindex 8acb2016c2..e302e25b74 100644--- a/.travis.yml+++ b/.travis.yml@@ -41,7 +41,6 @@ addons:node_js:- "14"- "12"- - "10"branches:only:- masterdiff --git a/src/topics/unread.js b/src/topics/unread.jsindex e8ed36a2a9..128c5008f2 100644--- a/src/topics/unread.js+++ b/src/topics/unread.js@@ -115,7 +115,7 @@ module.exports = function (Topics) {const unreadTopics = _.unionWith(categoryTids, followedTids, (a, b) => a.value === b.value).filter(t => !ignoredTids.includes(t.value) && (!userReadTime[t.value] || t.score > userReadTime[t.value]))- .concat(tids_unread)+ .concat(tids_unread.filter(t => !ignoredTids.includes(t.value))).sort((a, b) => b.score - a.score);let tids = _.uniq(unreadTopics.map(topic => topic.value)).slice(0, 200);