How to order browse labels results

When I use option browse labels in order to search content that contain that label, I would like to see the results ordered from newest to oldest. Is that possible?

Confluence 4.2

Thank you.

2 answers

I found a solution and put it here.

Hi Adolfo,

Currently the order of the order of label can only be sorted as

  • Alpabetically
  • Popularity

In order to get this information into the page, you might need to use SQL plugin and use the following query

Sorted by creation date

SELECT NAME, CREATIONDATE FROM label ORDER BY 2 DESC;

Sorted by last modification date

SELECT NAME, LASTMODDATE FROM label ORDER BY 2 DESC;

Hope it helps.

Cheers,
Septa Cahyadiputra

Thank you for comment.

My problem is how to sort the search results so by default the list has the newest items first and the oldest last. Here is a picture where the dates are mixed (pointing arrow):

You might want to re-attach the picture. It seems that it was not successful previously.

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,030 views 15 13
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