mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 02:36:16 +01:00
closes #5779
This commit is contained in:
@@ -19,7 +19,7 @@ module.exports = function (Categories) {
|
||||
}, { alwaysStartAt: 0 }, next);
|
||||
},
|
||||
function (next) {
|
||||
Categories.getPinnedTids('cid:' + cid + ':tids:pinned', 0, -1, next);
|
||||
db.getSortedSetRevRange('cid:' + cid + ':tids:pinned', 0, -1, next);
|
||||
},
|
||||
function (pinnedTids, next) {
|
||||
async.eachLimit(pinnedTids, 10, function (tid, next) {
|
||||
|
||||
Reference in New Issue
Block a user