Hey everyone
I have a CQL that I am using to get some result back and the Order By function is great but I would really like to get the ordering of the results by their natural ordering in the page tree.
For example, in the Display Children macro there is a sort by option. I can sort by Creation, Title, Modified or by Default.
The Default option just orders the pages by how they are organized in the page tree.
Does that option exist for ORDER BY in CQL?
From what I can see it doesn't look like I can. But wondering if I am missing something or if there is another clever way to get that result.
TIA!
Hello there!
Currently, an "order by" that takes in consideration page tree positions is not available. Here we have some further information about advanced CQL searching:
Also, there are documents detailing how the Page Tree API works. You can have a look at them here:
If your need is to show the page tree within another page, maybe the Page Tree Macro works for your case:
Let us know if this lead you somewhere!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.