mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 22:15:48 +01:00
filter:category.topics.get
This commit is contained in:
@@ -36,10 +36,12 @@ module.exports = function(Categories) {
|
|||||||
topics[i].index = indices[topics[i].tid];
|
topics[i].index = indices[topics[i].tid];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
plugins.fireHook('filter:category.topics.get', topics, function(err, topics) {
|
||||||
next(null, {
|
next(null, {
|
||||||
topics: topics,
|
topics: topics,
|
||||||
nextStart: data.stop + 1
|
nextStart: data.stop + 1
|
||||||
});
|
});
|
||||||
|
});
|
||||||
}
|
}
|
||||||
], callback);
|
], callback);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user