diff --git a/app/assets/javascripts/discourse/lib/search-for-term.js.es6 b/app/assets/javascripts/discourse/lib/search-for-term.js.es6 index 7cd3fffb90a..592195f72eb 100644 --- a/app/assets/javascripts/discourse/lib/search-for-term.js.es6 +++ b/app/assets/javascripts/discourse/lib/search-for-term.js.es6 @@ -59,12 +59,6 @@ export default function searchForTerm(term, opts) { } }); - // a bit awkward, but we need to get the help link in - // somehow - if(results.resultTypes && results.resultTypes[0]) { - results.resultTypes[0].showHelp = true; - } - var noResults = !!(results.topics.length === 0 && results.posts.length === 0 && results.users.length === 0 && diff --git a/app/assets/javascripts/discourse/templates/search.hbs b/app/assets/javascripts/discourse/templates/search.hbs index dfd8048e60b..b9d97fd4b9a 100644 --- a/app/assets/javascripts/discourse/templates/search.hbs +++ b/app/assets/javascripts/discourse/templates/search.hbs @@ -1,14 +1,16 @@ {{view 'search-text-field' value=term searchContextEnabled=searchContextEnabled searchContext=searchContext id="search-term"}} -{{#if searchContext}}