cancel
Showing results for 
Search instead for 
Did you mean: 

cannot sort by cm:title

alex_chew
Champ in-the-making
Champ in-the-making
Hi,

I added a new treegrid view to document library. Within which I want to sort folders and files by title. After investigating the structure of lucene index, there have three fields: cm:title, cm:title.en.sort and cm:title.zh.sort. I tried one by one but unfortunately none of them could work .
This function can work well within out-of-the-box simple/detail view. So I want to know which field should I use and how can I implement it in my customized Java codes. Many thanks.

Best Regards,
Alex
1 REPLY 1

mitpatoliya
Star Collaborator
Star Collaborator
Hi Alex,

Could you also post the piece of code how you are trying to sort that?