cancel
Showing results for 
Search instead for 
Did you mean: 

Fields order in advanced search form

hammerguy
Champ in-the-making
Champ in-the-making
Hi all,

I'm trying to reorder fields in the advanced search form in alfresco, but it's not working. I'm doing this in the share-config-custom.xml
I want creator to appear in the proper position before modifier, but this order is not rendered correctly.

<config evaluator="model-type" condition="cm:content">
        <forms>
        <form id="search">
            <field-visibility>
               <show id="cm:name" />
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="mimetype" />
               <show id="cm:creator" />
               <show id="cm:modifier" />
               <show id="cm:modified" />
               <show id="cm:categories" force="true" />
            </field-visibility>
            <appearance>
               <field id="mimetype">
                  <control template="/org/alfresco/components/form/controls/mimetype.ftl" />
               </field>
               <field id="cm:creator">
                  <control>
                     <control-param name="forceEditable">true</control-param>
                  </control>
               </field>
               <field id="cm:modifier">
                  <control>
                     <control-param name="forceEditable">true</control-param>
                  </control>
               </field>
               <field id="cm:modified">
                  <control template="/org/alfresco/components/form/controls/daterange.ftl" />
               </field>
               <field id="cm:categories">
                  <control>
                     <control-param name="compactMode">true</control-param>
                  </control>
               </field>
            </appearance>
         </form>
         </forms>
    </config>


Anybody knows what's wrong?

thx
1 REPLY 1

hammerguy
Champ in-the-making
Champ in-the-making
OK I had to use sets to order the fields