mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-24 00:09:41 +01:00
test: dont return cross posts
This commit is contained in:
@@ -147,7 +147,10 @@ module.exports = function (Categories) {
|
||||
.slice(0, parseInt(category.numRecentReplies, 10));
|
||||
}
|
||||
});
|
||||
topics.forEach((t) => { t.parentCids = undefined; });
|
||||
topics.forEach((t) => {
|
||||
t.parentCids = undefined;
|
||||
t.crossposts = undefined;
|
||||
});
|
||||
}
|
||||
|
||||
function bubbleUpChildrenPosts(categoryData) {
|
||||
|
||||
Reference in New Issue
Block a user