Node.js based forum software built for the modern web
fix: #9473 (#9476)
Barış Soner Uşaklı036f935fa912
diff --git a/src/controllers/topics.js b/src/controllers/topics.jsindex 6e48f19664..5e034b9d3e 100644--- a/src/controllers/topics.js+++ b/src/controllers/topics.js@@ -127,7 +127,7 @@ function calculateStartStop(page, postIndex, settings) {let startSkip = 0;if (!settings.usePagination) {- if (postIndex !== 0) {+ if (postIndex > 1) {page = 1;}startSkip = Math.max(0, postIndex - Math.ceil(settings.postsPerPage / 2));