mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-14 10:37:45 +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));
|
.slice(0, parseInt(category.numRecentReplies, 10));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
topics.forEach((t) => { t.parentCids = undefined; });
|
topics.forEach((t) => {
|
||||||
|
t.parentCids = undefined;
|
||||||
|
t.crossposts = undefined;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function bubbleUpChildrenPosts(categoryData) {
|
function bubbleUpChildrenPosts(categoryData) {
|
||||||
|
|||||||
Reference in New Issue
Block a user