mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-23 04:40:36 +01:00
Merge branch 'master' into develop
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user