AnsweredAssumed Answered

Conditional sorting in search results

Question asked by webdesigner on Mar 24, 2012
Latest reply on Mar 31, 2012 by webdesigner
Hello,

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

Is is possible?

Something like that, but with a condition for a selected model type in the search dialog:

<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>

Thanks in advance
Best regards
Vitali

Outcomes