mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 04:25:55 +01:00
added filter:category.get
This commit is contained in:
@@ -93,9 +93,11 @@ var db = require('./database'),
|
||||
category.pageCount = results.pageCount;
|
||||
category.topic_row_size = 'col-md-9';
|
||||
|
||||
plugins.fireHook('filter:category.get', category, function(err, category) {
|
||||
callback(null, category);
|
||||
});
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
Categories.getCategoryTopics = function(cid, start, stop, uid, callback) {
|
||||
|
||||
Reference in New Issue
Block a user