AnsweredAssumed Answered

Custom sorting doesn't work for search results in Share

Question asked by webdesigner on Mar 27, 2012
Latest reply on Jul 17, 2012 by ying
Hello,

I have a search configuration for my custom type to allow sorting of search results using the custom metadata properties.

Here my configuration in share-config-custom.xml

<config evaluator="string-compare" condition="Search">
<sorting>
<sort labelId="label.propert.one">my:customPropOne</sort>
<sort labelId="label.propert.two">my:customPropTwo</sort>
</sorting>
</config>

The properties are displayed properly, but if I try to use them for sort (Click to the property name in the "sort by" drop down of the search result dialog), empty list has been displayed and I see no errors in log.


Is it a bug or what I' doing wrong?

Thanks in advance
Best regards
Vitali

Outcomes