Skip to content

Node.js based forum software built for the modern web

Merge branch 'master' into develop

Barış Soner Uşaklıa3596772ec69
diff --cc install/package.json
index 8b99be0482,361f5fd644..fe4d8a971e
--- a/install/package.json
+++ b/install/package.json
@@@ -104,11 -104,11 +104,11 @@@
"nodebb-plugin-emoji": "6.0.2",
"nodebb-plugin-emoji-android": "4.1.1",
"nodebb-plugin-markdown": "13.1.0",
- "nodebb-plugin-mentions": "4.6.10",
+ "nodebb-plugin-mentions": "4.7.0",
"nodebb-plugin-spam-be-gone": "2.3.1",
- "nodebb-plugin-web-push": "0.7.2",
+ "nodebb-plugin-web-push": "0.7.3",
"nodebb-rewards-essentials": "1.0.1",
- "nodebb-theme-harmony": "2.0.34",
+ "nodebb-theme-harmony": "2.0.35",
"nodebb-theme-lavender": "7.1.17",
"nodebb-theme-peace": "2.2.39",
"nodebb-theme-persona": "14.0.15",
diff --cc src/controllers/activitypub/topics.js
index d32dcae00c,fac130eb97..afcc7eb942
--- a/src/controllers/activitypub/topics.js
+++ b/src/controllers/activitypub/topics.js
@@@ -49,11 -66,9 +49,10 @@@ controller.list = async function (req,
targetUid: targetUid,
};
const data = await categories.getCategoryById(cidQuery);
- data.name = '[[world:name]]';
delete data.children;
- const tids = await getTids(cidQuery);
+ let tids = await categories.getTopicIds(cidQuery);
+ tids = await categories.sortTidsBySet(tids, -1, sort); // sorting not handled if cid is -1
data.topicCount = tids.length;
data.topics = await topics.getTopicsByTids(tids, { uid: req.uid });
topics.calculateTopicIndices(data.topics, start);