mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
beginning topic searching + new hook
This commit is contained in:
@@ -417,4 +417,8 @@ SocketTopics.searchTags = function(socket, data, callback) {
|
||||
topics.searchTags(data, callback);
|
||||
};
|
||||
|
||||
SocketTopics.search = function(socket, data, callback) {
|
||||
topics.search(data.tid, data.term, callback);
|
||||
};
|
||||
|
||||
module.exports = SocketTopics;
|
||||
|
||||
Reference in New Issue
Block a user