cancel
Showing results for 
Search instead for 
Did you mean: 

Sorting TREX results ...

Former Member
0 Kudos

hi ,

does anybody knows how to sort by date (the "created" property) the results of a search?

Thanx,

Jon.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi,

I've open the SearchResultLayoutSet and there is no 'Property for Sorting'.

I've opened the search options and set the 'Default Property for Sorting' to one of my property and checked it and several other property in the 'Allowed Sort Properties' parameter.

Problem is that in the search result list,it still shows the default property in the 'Sort By' drop down which is Relevance,Modified,Modified By, Name and Size.

If I set the 'Default Property for Sorting' to Not Set and uncheck all the property in 'Allowed Sort Properties', it still shows the above property.

What do I need to do in order to change the 'Relevance,Modified,Modified By, Name and Size' to one of my property?

Edited by: Fuad Harriz Abd Rahim on Sep 3, 2008 5:33 AM

Former Member
0 Kudos

Hi Jon,

you can modify the SearchResultLayoutSet by setting "Property for Sorting" to the creation date property("cm_created") and "Sorting Mode" to "Descending" and also modifying the Search Option Set (properties "Default Sorting Mode" & "Default Property for Sorting") or you can do it programmatically.

See also: https://forums.sdn.sap.com/message.jspa?messageID=2758461#2758461

Hope this helps,

Robert