Have been looking though the reference and everywhere i could to get my sqlite based children to filterby field inside the panel…
my target is to seperate those children inside each own list depending on the status of a field…, similar to what draft, listed, unlisted is doing
complete:
headline: Completed
type: pages
template: childtemplate
query: page.children.filterBy('status','==','2')
notcomplete:
headline: Not Completed
type: pages
template: childtemplate
query: page.children.filterBy('status','==','1')
new:
headline: New
type: pages
template: childtemplate
query: page.children.filterBy('status','==','0')
Seems like even though i have the model, the query is not doing anything, all three are showing the same children in the list.