Skip to content

Commit

Permalink
πŸ› Missing accordions in groq #1864
Browse files Browse the repository at this point in the history
  • Loading branch information
padms committed Nov 3, 2023
1 parent 915f335 commit 3bf8f25
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion search/IndexSanityContent/magazine/sanity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ export const query = /* groq */ `*[_type == "magazine" && _lang == $lang && !(_i
"accordions": content[_type == "accordion"] {
"_key": _key,
"title": pt::text(title),
"ingress": pt::text(ingress)
"ingress": pt::text(ingress),
"accordionItems":accordion[]{
"id": _key,
title,
"content": pt::text(content)
}
},
"magazineTags": magazineTags[]->.title[$lang],
"heroFigure": select(
Expand Down

0 comments on commit 3bf8f25

Please sign in to comment.