diff --git a/app/assets/javascripts/discourse/lib/search.js.es6 b/app/assets/javascripts/discourse/lib/search.js.es6 index 8fab105cfe1..a3f47f7a12e 100644 --- a/app/assets/javascripts/discourse/lib/search.js.es6 +++ b/app/assets/javascripts/discourse/lib/search.js.es6 @@ -80,7 +80,7 @@ export function translateResults(results, opts) { more: groupedSearchResult[`more_${name}`] }; - if (result.more && name === "posts" && opts.fullSearchUrl) { + if (result.more && componentName === "topic" && opts.fullSearchUrl) { result.more = false; result.moreUrl = opts.fullSearchUrl; }