mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 18:56:15 +01:00
re: #4578
This commit is contained in:
@@ -105,7 +105,10 @@ module.exports = function(Categories) {
|
||||
function (next) {
|
||||
topics.getTopicsFields(tids, ['tid', 'mainPid', 'slug', 'title', 'teaserPid', 'cid', 'postcount'], next);
|
||||
},
|
||||
async.apply(topics.getTeasers),
|
||||
function(_topicData, next) {
|
||||
topicData = _topicData;
|
||||
topics.getTeasers(_topicData, next);
|
||||
},
|
||||
function (teasers, next) {
|
||||
teasers.forEach(function(teaser, index) {
|
||||
if (teaser) {
|
||||
|
||||
Reference in New Issue
Block a user