FIX: More search results was broken.

This commit is contained in:
Robin Ward 2013-05-27 17:49:25 -04:00
parent f69ef8c42e
commit b73bb49076
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ Discourse.Search = {
// Only include the data we have
var data = { term: term }
if (opts.typeFilter) data.typeFilter = opts.typeFilter;
if (opts.typeFilter) data.type_filter = opts.typeFilter;
if (opts.searchContext) data.search_context = opts.searchContext;
return Discourse.ajax('/search', { data: data });