mirror of
https://github.com/discourse/discourse.git
synced 2025-02-26 15:52:20 +00:00
FIX: Use topic title headline in search menu result.
This commit is contained in:
parent
f4c4a2a7f1
commit
4b8c15b857
@ -151,7 +151,9 @@ createSearchResult({
|
||||
h(
|
||||
"span.topic-title",
|
||||
{ attributes: { "data-topic-id": topic.id } },
|
||||
new Highlighted(topic.fancyTitle, term)
|
||||
this.siteSettings.use_pg_headlines_for_excerpt
|
||||
? new RawHtml({ html: `<span>${result.topic_title_headline}</span>` })
|
||||
: new Highlighted(topic.fancyTitle, term)
|
||||
),
|
||||
];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user