Merge branch 'develop' into activitypub

This commit is contained in:
Barış Soner Uşaklı
2024-03-04 16:09:11 -05:00
112 changed files with 369 additions and 56 deletions

View File

@@ -124,7 +124,7 @@ categoriesAPI.getTopics = async (caller, data) => {
}
const infScrollTopicsPerPage = 20;
const sort = data.sort || data.categoryTopicSort || meta.config.categoryTopicSort || 'newest_to_oldest';
const sort = data.sort || data.categoryTopicSort || meta.config.categoryTopicSort || 'recently_replied';
let start = Math.max(0, parseInt(data.after || 0, 10));