cancel
Showing results for 
Search instead for 
Did you mean: 

error of Alfresco : share-config-custom.xml and searchinFolder Advsearch Alfresco shows CORRECT results with BAD links

todafuture
Champ on-the-rise
Champ on-the-rise
I am asking about that feature when I choose Advanced Search and then I can choose a folder to search in.

I can do it like this, and Alfresco showed CORRECT search results. The problem is the links of the results are INCORRECT. When I click in the links of results, it goes to no document because of bad links.

How can I fix this error of Alfresco ?  

It likely does not matter in this case but just for more info the version I am using is 4.2.c.
<blockcode>
      <config evaluator="model-type" condition="kb:foldern">
      <forms>
         <form>   
            <field-visibility>
   
               <show id="cm:name" force="true" />

            </field-visibility>
         
         </form>
<form id="search">
            <field-visibility>
               <show id="searchInFolder" force="true" />
               <show id="cm:name"  force="true"  />
            </field-visibility>
            <appearance>
               <field id="searchInFolder" label="Search in folder">
                  <control template="/org/alfresco/components/form/controls/association.ftl" />
               </field>
            </appearance>
         </form>
      </forms>
   </config>   
</blockcode>
1 ACCEPTED ANSWER

todafuture
Champ on-the-rise
Champ on-the-rise
I fixed this error. Need to change search.js file. It works now !!!!

View answer in original post

1 REPLY 1

todafuture
Champ on-the-rise
Champ on-the-rise
I fixed this error. Need to change search.js file. It works now !!!!