mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 01:56:12 +01:00
refactored a bunch of methods so that you can pass in an author argument in querystring to see posts by just that author, #2355
This commit is contained in:
@@ -383,7 +383,7 @@ SocketTopics.moveAll = function(socket, data, callback) {
|
||||
return callback(err || new Error('[[error:no-privileges]]'));
|
||||
}
|
||||
|
||||
categories.getTopicIds(data.currentCid, 0, -1, function(err, tids) {
|
||||
categories.getTopicIds('categories:' + data.currentCid + ':tid', 0, -1, function(err, tids) {
|
||||
if (err) {
|
||||
return callback(err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user