added category bgColor/color to getPostSummary

v1.18.x
barisusakli 10 years ago
parent 13b4e446bf
commit cc6f37ac4e

@ -120,7 +120,7 @@ module.exports = function(Posts) {
return topic && array.indexOf(topic) === index;
});
categories.getMultipleCategoryFields(cids, ['cid', 'name', 'icon', 'slug', 'parentCid'], function(err, categories) {
categories.getMultipleCategoryFields(cids, ['cid', 'name', 'icon', 'slug', 'parentCid', 'bgColor', 'color'], function(err, categories) {
callback(err, {topics: topics, categories: categories});
});
});

Loading…
Cancel
Save