Revert "FIX: Use topic title headline in search menu result."
This reverts commit 4b8c15b857
.
This breaks topic title for topic similar search.
This commit is contained in:
parent
4b8c15b857
commit
495c79da1a
|
@ -151,9 +151,7 @@ createSearchResult({
|
||||||
h(
|
h(
|
||||||
"span.topic-title",
|
"span.topic-title",
|
||||||
{ attributes: { "data-topic-id": topic.id } },
|
{ attributes: { "data-topic-id": topic.id } },
|
||||||
this.siteSettings.use_pg_headlines_for_excerpt
|
new Highlighted(topic.fancyTitle, term)
|
||||||
? new RawHtml({ html: `<span>${result.topic_title_headline}</span>` })
|
|
||||||
: new Highlighted(topic.fancyTitle, term)
|
|
||||||
),
|
),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue