cancel
Showing results for 
Search instead for 
Did you mean: 

A problem about Search.

sshgz
Champ in-the-making
Champ in-the-making
I want to perform a search and my input text only is  2 chinese characters.
But the text field require a minimum of 3 characters, how to change the minimum of the characters?

Thanks.
2 REPLIES 2

steve
Champ in-the-making
Champ in-the-making
Hello,

In your 'web-client-config-custom.xml' file (found in tomcat\shared\classes\alfresco\extension)  uncomment the following section:

   <!–
   <config>
      <client>
         <from-email-address>someone@your-domain.com</from-email-address>
         <search-max-results>100</search-max-results>
      </client>
   </config>
   –>

and add the following line:

         <!– the minimum number of characters required for a valid search string –>
         <search-minimum>2</search-minimum>

Steve

sshgz
Champ in-the-making
Champ in-the-making
Hello,

In your 'web-client-config-custom.xml' file (found in tomcat\shared\classes\alfresco\extension)  uncomment the following section:

   <!–
   <config>
      <client>
         <from-email-address>someone@your-domain.com</from-email-address>
         <search-max-results>100</search-max-results>
      </client>
   </config>
   –>

and add the following line:

         <!– the minimum number of characters required for a valid search string –>
         <search-minimum>2</search-minimum>

Steve

Thanks Steve.

I have done it with your help.