mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 07:55:46 +01:00
ability to search posts by user
This commit is contained in:
@@ -437,7 +437,7 @@ app.uid = null;
|
||||
e.preventDefault();
|
||||
var input = $(this).find('input');
|
||||
|
||||
search.query(input.val(), 'posts', function() {
|
||||
search.query({term: input.val(), in: 'posts'}, function() {
|
||||
input.val('');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user