cancel
Showing results for 
Search instead for 
Did you mean: 

Conditional sorting in search results

webdesigner
Champ in-the-making
Champ in-the-making
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
5 REPLIES 5

webdesigner
Champ in-the-making
Champ in-the-making
Seems that's not possible in the current version, is there a chance to include in the next Alfresco version?
I think it's very useful to have a possibility to configure different sorting for different search types.

mikeh
Star Contributor
Star Contributor
You need to raise an Enhancement request in JIRA - that way people can vote on your idea and you will also get informed of any progress made.

Thanks,
Mike

scouil
Star Contributor
Star Contributor
I wonder if Jean Barmash's "Dynamic data-driven drop downs" already nails it.

You might want to have a look at:
https://forums.alfresco.com/en/viewtopic.php?f=19&t=43663

webdesigner
Champ in-the-making
Champ in-the-making
I wonder if Jean Barmash's "Dynamic data-driven drop downs" already nails it.

You might want to have a look at:
https://forums.alfresco.com/en/viewtopic.php?f=19&t=43663

Hi, think it's about extension of the old JSF Web client:
—————
<component>
<component-type>org.alfresco.faces.PropertySheet</component-type>
<component-class>org.alfresco.sample.web.RefreshableUIPropertySheet</component-class>
</component>
—————

I was talking about Share and this is a forum for Share questions

Regards
Vitali

webdesigner
Champ in-the-making
Champ in-the-making
You need to raise an Enhancement request in JIRA - that way people can vote on your idea and you will also get informed of any progress made.

Thanks,
Mike

Hi Mike, thanks for your reply, sure, it's here: https://issues.alfresco.com/jira/browse/ALF-13547
I waited until someone answers my post (I was not sure whether it's supported or not)