How to invoke ?

NodeBB Development
  • I am working on a search plugin.

    There're two filters available for topic & post :

    • filter:search.query = function(data, callback) {'enter search')
    	return callback(null, []);
    plugin.searchTopic = function(data, callback) {'enter topic search')
    	return callback(null, []);

    now I can see the log in search after I search something, as well as advanced search. But searchTopicnever show.

    Can someone tell me how to invoke this filter ?

Suggested Topics