mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 00:43:43 +08:00
FIX: More link in topic page search shouldn't navigate to full page result
This commit is contained in:
parent
51fdf7a11d
commit
62a0f88e97
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user