Merge branch 'master' into develop

This commit is contained in:
Barış Soner Uşaklı
2025-12-05 12:28:29 -05:00
2 changed files with 2 additions and 5 deletions

View File

@@ -126,7 +126,7 @@ categoriesAPI.getTopics = async (caller, data) => {
throw new Error('[[error:no-privileges]]');
}
const infScrollTopicsPerPage = 20;
const infScrollTopicsPerPage = settings.topicsPerPage;
const sort = data.sort || data.categoryTopicSort || meta.config.categoryTopicSort || 'recently_replied';
let start = Math.max(0, parseInt(data.after || 0, 10));