Skip to content

Node.js based forum software built for the modern web

fix: #7209

Barış Soner Uşaklıb9833483caa2
diff --git a/src/topics/unread.js b/src/topics/unread.js
index c02fc54640..9efe5c8363 100644
--- a/src/topics/unread.js
+++ b/src/topics/unread.js
@@ -51,7 +51,7 @@ module.exports = function (Topics) {
if (!topicData.length) {
return next(null, unreadTopics);
}
-
+ Topics.calculateTopicIndices(topicData, params.start);
unreadTopics.topics = topicData;
unreadTopics.nextStart = params.stop + 1;
next(null, unreadTopics);