mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 03:01:08 +01:00
re: #4578
This commit is contained in:
@@ -105,7 +105,10 @@ module.exports = function(Categories) {
|
|||||||
function (next) {
|
function (next) {
|
||||||
topics.getTopicsFields(tids, ['tid', 'mainPid', 'slug', 'title', 'teaserPid', 'cid', 'postcount'], 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) {
|
function (teasers, next) {
|
||||||
teasers.forEach(function(teaser, index) {
|
teasers.forEach(function(teaser, index) {
|
||||||
if (teaser) {
|
if (teaser) {
|
||||||
|
|||||||
Reference in New Issue
Block a user