How can one sort a report-block by the manual order of the children?
I'm using the recipe below to add the contents of all children to a parent's page. While I can get it to do it alphabetically, I cannot get {text-sort} to use the manual sort order of the children (as sorded in the tree/heirarchy view).
From: http://www.customware.net/repository/...
{report-block}
{content-reporter:scope=@self > children}
{text-sort:content:title}
{content-reporter}
{report-body}
h2. {report-info:content:title|link=true}
{report-info:content:body|render=wiki}
{report-body}
{report-block}
Is there a text-sort option that will let me do this?
From: http://www.customware.net/repository/...
{report-block}
{content-reporter:scope=@self > children}
{text-sort:content:title}
{content-reporter}
{report-body}
h2. {report-info:content:title|link=true}
{report-info:content:body|render=wiki}
{report-body}
{report-block}
Is there a text-sort option that will let me do this?
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
-
Inappropriate?The way to go is to use the 'page:sorted children' key from the Page Supplier. To do this, you'll need to switch to the {local-reporter} instead of {content-reporter}, which will be more efficient anyway. Eg:
{local-reporter:page:sorted children}
{local-reporter}
Always prefer to use local-reporter if you can - content-reporter is somewhat inefficient currently, unfortunately.
I’m confident
Loading Profile...



EMPLOYEE