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>