mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Added the following community contribution from Ray Gauss II "Add configuration to allow basic search to be changed to search X, Y, Z attributes by default."
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5649 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -42,6 +42,7 @@ import org.alfresco.web.bean.SearchContext;
|
||||
import org.alfresco.web.ui.common.Utils;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
|
||||
/**
|
||||
* @author Kevin Roast
|
||||
*/
|
||||
@@ -151,6 +152,7 @@ public class UISimpleSearch extends UICommand
|
||||
context.setText(searchEvent.SearchText);
|
||||
context.setMode(searchEvent.SearchMode);
|
||||
context.setForceAndTerms(Application.getClientConfig(fc).getForceAndTerms());
|
||||
context.setSimpleSearchAdditionalAttributes(Application.getClientConfig(fc).getSimpleSearchAdditionalAttributes());
|
||||
this.search = context;
|
||||
|
||||
super.broadcast(event);
|
||||
|
Reference in New Issue
Block a user