mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 03:01:08 +01:00
Categories optimize (#6999)
* WIP * fix category page * fix counts, and copyPrivileges * fix lint * more fixes, * redis fix * fix test * fix category test * remove getParentsAndChildren
This commit is contained in:
committed by
GitHub
parent
96a2be9b55
commit
53ad2bbd6e
@@ -7,7 +7,7 @@ var db = require('../database');
|
||||
|
||||
const intFields = [
|
||||
'cid', 'parentCid', 'disabled', 'isSection', 'order',
|
||||
'topic_count', 'post_count',
|
||||
'topic_count', 'post_count', 'numRecentReplies',
|
||||
];
|
||||
|
||||
module.exports = function (Categories) {
|
||||
|
||||
Reference in New Issue
Block a user