mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.1 to HEAD
13249: Fix for ETHREEOH-1064 and ETHREEOH-1286 and fix for issue where New Page action not activated in Share Wiki page list. 13251: Final part of fix for ETHREEOH-1270 - Group pickers in JSF client now use new findAuthorities() API to find groups for user searches - over 10x quicker for installations with many groups. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13580 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -70,6 +70,7 @@ public class ClientElementReader implements ConfigElementReader
|
||||
public static final String ELEMENT_ZEROBYTEFILEUPLOADS = "zero-byte-file-uploads";
|
||||
public static final String ELEMENT_USERGROUPADMIN = "user-group-admin";
|
||||
public static final String ELEMENT_ALLOWUSERCONFIG = "allow-user-config";
|
||||
public static final String ELEMENT_PICKERSEARCHMINIMUM = "picker-search-minimum";
|
||||
|
||||
|
||||
/**
|
||||
@@ -307,6 +308,13 @@ public class ClientElementReader implements ConfigElementReader
|
||||
{
|
||||
configElement.setAllowUserConfig(Boolean.parseBoolean(userConfig.getTextTrim()));
|
||||
}
|
||||
|
||||
// get the minimum number of characters for valid picker search string
|
||||
Element pickerSearchMin = element.element(ELEMENT_PICKERSEARCHMINIMUM);
|
||||
if (pickerSearchMin != null)
|
||||
{
|
||||
configElement.setPickerSearchMinimum(Integer.parseInt(pickerSearchMin.getTextTrim()));
|
||||
}
|
||||
}
|
||||
|
||||
return configElement;
|
||||
|
Reference in New Issue
Block a user