Unfortunately page.children.children doesn’t count the drafts, it should show “1” as there is a children in page 12.08.2022. What would be correct way to get right number of children children in query?
Additional question. Every childrens children has this toggle:
erledigt:
width: 1/2
label: Wurde die Beratung durchgeführt?
type: toggle
text:
- "Nein"
- "Ja"
Is there the way to count how much of “Ja” (yes) has been toggled? And add to query it for stats?
@texnixe that would be the page event.overview.de.txt
the simplified structure of folders is like this
- event.overview (the page with stats)
-- event.page.entry (a time slot)
--- event.page.registration (a time slot registration via user input in frontend, saved only as drafts and with 'erledigt' toggle)
-- event.page.entry (another time slot etc...)
--- event.page.registration
--- event.page.registration
--- event.page.registration
-- event.page.entry (another time slot etc...)
--- event.page.registration
--- event.page.registration