From c88327d075e8f91e43838cf24b024332a760fcbc Mon Sep 17 00:00:00 2001 From: psychobunny Date: Wed, 6 Aug 2014 13:51:37 -0400 Subject: [PATCH] added filter:category.get --- src/categories.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/categories.js b/src/categories.js index f63b096477..8fb459728d 100644 --- a/src/categories.js +++ b/src/categories.js @@ -93,7 +93,9 @@ var db = require('./database'), category.pageCount = results.pageCount; category.topic_row_size = 'col-md-9'; - callback(null, category); + plugins.fireHook('filter:category.get', category, function(err, category) { + callback(null, category); + }); }); }); };