cancel
Showing results for 
Search instead for 
Did you mean: 

How to sort search results based on mime type?

jenn_l
Champ on-the-rise
Champ on-the-rise
Hoi all,

Does anyone know how to sort the search results based on mimetypes? By default you can sort on name, description, path, size, created and modified column.
I want to add a column mimetype, where I can sort on this.

Any help will be appreciated,
Jenny
1 REPLY 1

brian_robinson
Champ in-the-making
Champ in-the-making
Hi Jenny,

See the documentation for the Javascript API on search: http://wiki.alfresco.com/wiki/3.1_JavaScript_API#Search_API.  Of course, you'll have to find the exact property name that mime type is stored in and use that, but this should do what you need once you've found it.