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

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

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
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

276 views 2 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you