mirror of
https://github.com/discourse/discourse.git
synced 2025-03-02 01:34:26 +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}`]
|
more: groupedSearchResult[`more_${name}`]
|
||||||
};
|
};
|
||||||
|
|
||||||
if (result.more && name === "posts" && opts.fullSearchUrl) {
|
if (result.more && componentName === "topic" && opts.fullSearchUrl) {
|
||||||
result.more = false;
|
result.more = false;
|
||||||
result.moreUrl = opts.fullSearchUrl;
|
result.moreUrl = opts.fullSearchUrl;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user