diff --git a/search/IndexSanityContent/magazine/sanity.ts b/search/IndexSanityContent/magazine/sanity.ts index 9c078d3a3..8ae03f927 100644 --- a/search/IndexSanityContent/magazine/sanity.ts +++ b/search/IndexSanityContent/magazine/sanity.ts @@ -28,10 +28,10 @@ export const query = /* groq */ `*[_type == "magazine" && _lang == $lang && !(_i "textBlocks": content[_type == "textBlock"]{ "_key": _key, "title": select( - "isBigText" == true => { + isBigText == true => pt::text(bigTitle), pt::text(title) - }), + ), "ingress": pt::text(ingress), "text": pt::text(text) // TODO: Do this manually to cover all cases }, diff --git a/search/IndexSanityContent/topic/sanity.ts b/search/IndexSanityContent/topic/sanity.ts index 8280a0e80..a55a88d56 100644 --- a/search/IndexSanityContent/topic/sanity.ts +++ b/search/IndexSanityContent/topic/sanity.ts @@ -12,10 +12,10 @@ export const query = /* groq */ `*[_type match "route_" + $lang + "*" && content "textBlocks": content->content[_type == "textBlock"]{ "_key": _key, "title": select( - "isBigText" == true => { + isBigText == true => pt::text(bigTitle), pt::text(title) - }), + ), "ingress": pt::text(ingress), "text": pt::text(text) // TODO: Do this manually to cover all cases },