Node.js based forum software built for the modern web
Revert "moved filter:post.getPostSummaryByPids to before parsePosts call"
Julian Lamaaa9561b7f6c
diff --git a/src/posts/summary.js b/src/posts/summary.jsindex 24090a01ee..139fea16a8 100644--- a/src/posts/summary.js+++ b/src/posts/summary.js@@ -78,16 +78,13 @@ module.exports = function (Posts) {return results.topics[post.tid];});- next(null, posts);+ parsePosts(posts, options, next);},function (posts, next) {plugins.fireHook('filter:post.getPostSummaryByPids', { posts: posts, uid: uid }, next);},function (data, next) {- parsePosts(data.posts, options, next);- },- function (posts, next) {- next(null, posts);+ next(null, data.posts);},], callback);};