ability to search posts by user

This commit is contained in:
barisusakli
2015-01-07 17:27:09 -05:00
parent b685194dae
commit ce9c17f8e5
8 changed files with 108 additions and 28 deletions

View File

@@ -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('');
});
});