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
Accepted answer

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
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

110 views 3 4
Join discussion

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