Node.js based forum software built for the modern web
fix: #13067, add sourceContent to teasers
Barış Soner Uşaklı679fcb71a988
diff --git a/src/topics/teaser.js b/src/topics/teaser.jsindex 20c46ff430..477d2891b8 100644--- a/src/topics/teaser.js+++ b/src/topics/teaser.js@@ -43,7 +43,7 @@ module.exports = function (Topics) {});const [allPostData, callerSettings] = await Promise.all([- posts.getPostsFields(teaserPids, ['pid', 'uid', 'timestamp', 'tid', 'content']),+ posts.getPostsFields(teaserPids, ['pid', 'uid', 'timestamp', 'tid', 'content', 'sourceContent']),user.getSettings(uid),]);let postData = allPostData.filter(post => post && post.pid);