From 0f89fc82145ae72af0a641f3c8443ab5ce4c040b Mon Sep 17 00:00:00 2001 From: Mega Date: Tue, 5 Jul 2016 03:38:15 +0500 Subject: [PATCH] close #4822 --- src/posts/summary.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/posts/summary.js b/src/posts/summary.js index 60da66ecad..885a0e444d 100644 --- a/src/posts/summary.js +++ b/src/posts/summary.js @@ -118,6 +118,7 @@ module.exports = function(Posts) { var cids = topics.map(function(topic) { if (topic) { topic.title = validator.escape(topic.title); + topic.deleted = parseInt(topic.deleted, 10) === 1; } return topic && topic.cid; }).filter(function(topic, index, array) { @@ -145,4 +146,4 @@ module.exports = function(Posts) { } return content; } -}; \ No newline at end of file +};