mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-04 21:15:55 +01:00
filter:category.topics.get
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user