mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 04:25:55 +01:00
added filter:category.get
This commit is contained in:
@@ -93,7 +93,9 @@ var db = require('./database'),
|
|||||||
category.pageCount = results.pageCount;
|
category.pageCount = results.pageCount;
|
||||||
category.topic_row_size = 'col-md-9';
|
category.topic_row_size = 'col-md-9';
|
||||||
|
|
||||||
callback(null, category);
|
plugins.fireHook('filter:category.get', category, function(err, category) {
|
||||||
|
callback(null, category);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user