AnsweredAssumed Answered

Advanced Search on size range is not working

Question asked by sharad_panchal on Oct 31, 2011
I have done following change in share-config-custom.xml to incorporate document size range search in Advanced Search. It shows the size field on the advance search page. But fails to search on the size. Search alway return zero result if size range is specified. Can anybody help me out in it ?

         <!– Search form –>
         <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="size"/>
            </field-visibility>
            <appearance>
               <field id="mimetype">
                  <control template="/org/alfresco/components/form/controls/mimetype.ftl" />
               </field>
      <field id="size">
          <control template="/org/alfresco/components/form/controls/numberrange.ftl">
                <control-param name="forceEditable">true</control-param>
          </control>
      </field>
            </appearance>
         </form>


Regards
Sharad

Outcomes