From abe887f557397d21a83fee3e0f56d0de28d3910f Mon Sep 17 00:00:00 2001 From: psychobunny Date: Fri, 14 Nov 2014 16:29:59 -0500 Subject: [PATCH] filter:category.topics.get --- src/categories/topics.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/categories/topics.js b/src/categories/topics.js index 358e607187..c7572fae47 100644 --- a/src/categories/topics.js +++ b/src/categories/topics.js @@ -36,9 +36,11 @@ module.exports = function(Categories) { topics[i].index = indices[topics[i].tid]; } - next(null, { - topics: topics, - nextStart: data.stop + 1 + plugins.fireHook('filter:category.topics.get', topics, function(err, topics) { + next(null, { + topics: topics, + nextStart: data.stop + 1 + }); }); } ], callback);