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

This widget could not be displayed.

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 Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

567 views 7 6
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