mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
added filter:category.get
This commit is contained in:
@@ -93,7 +93,9 @@ var db = require('./database'),
|
||||
category.pageCount = results.pageCount;
|
||||
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