sort page trees by date?

Page trees in Confluence seem to be sorted alphabetically by default; it's also possible to create a custom order.

Is there anyway to specify that page lists should be sorted by creation date or by modification date. Or better yet, provide tabs to allow the user to change the sort order?

2 answers

1 accepted

Hi Bob,

Yes you could sort Page tree macro. You could arrange the position of the page tree macro by alphabetically, time of creation, time of modification, or postion. For more information please refer to the following documentation.

Hope this information helps. Cheers!

We use the documentation theme so I over rode it in the theme configuration with the WIKI markup

Pagetree supports several options:

Specify the order to display the pages in the tree. This sort order is for display purposes only. It does not permanently re-arrange the page order. The value may be one of the following:

  • bitwise — sort alphabetically, for example: title1, title10, title2.
  • creation — sort by date of creation.
  • modified — sort by order of date last modified.
  • natural — sort in 'natural' alphabetical order, for example: title1, title2, title10.
  • position — sort by the default Confluence sorting rules. If your pages have been ordered manually, this sort will respect the defined order. Otherwise the pages will be displayed in the 'natural' alphabetical order, such as: title1, title2, title10.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,551 views 25 14
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