reporting plugin: sorting contents by modification date - is this the correct syntax?

Kevin Buchs
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 19, 2011

I am using the reporting plug-in macros to generate a list of child pages along with their modification dates. I want the reporter to do the sorting. Can anyone suggest any mistakes in this syntax?

h3. Software Release Planning Documents 

{report-table}

{content-reporter:space=@self|types=+page|scope=@self > descendents}
{text-sort:content:modification date|order=descending}
{content-reporter}

{report-column:title=Title}{report-info:page:title|link=true}{report-column}
{report-column:title=Last Modified}{report-info:page:modification date}{report-column}

{report-table}

Here are the results I see (note the sorting does not happen)

https://docs.google.com/leaf?id=0B_HuVg-yTgznZjU5YTc5OTktYzQ3Mi00YjgxLTg2ZDUtMzc2YWE5OWJlMmU1&hl=en_US

output of markup

1 answer

1 accepted

1 vote
Answer accepted
Kevin Buchs
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 10, 2011

The answer is: use date-sort instead of text-sort for date fields.

{report-table}

{content-reporter:space=@self|types=+page|scope=@self > descendents}

{date-sort:content:modification date|order=descending}

{content-reporter}

{report-column:title=Title}{report-info:page:title|link=true}{report-column}

{report-column:title=Last Modified}{report-info:page:modification date}{report-column}

{report-table}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events