mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-QA to HEAD (4.2) (including moving test classes into separate folders)
51903 to 54309 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@54310 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -43,6 +43,7 @@ public class ClientElementReader implements ConfigElementReader
|
||||
public static final String ELEMENT_SEARCHMINIMUM = "search-minimum";
|
||||
public static final String ELEMENT_SEARCHANDTERMS = "search-and-terms";
|
||||
public static final String ELEMENT_SEARCHMAXRESULTS = "search-max-results";
|
||||
public static final String ELEMENT_BULKFETCHENABLED = "bulk-fetch-enabled";
|
||||
public static final String ELEMENT_SELECTORSSEARCHMAXRESULTS = "selectors-search-max-results";
|
||||
public static final String ELEMENT_INVITESEARCHMAXRESULTS = "invite-users-max-results";
|
||||
public static final String ELEMENT_TASKSCOMPLETEDMAXRESULTS = "tasks-completed-max-results";
|
||||
@@ -141,6 +142,13 @@ public class ClientElementReader implements ConfigElementReader
|
||||
configElement.setSearchMaxResults(Integer.parseInt(searchMaxResults.getTextTrim()));
|
||||
}
|
||||
|
||||
// get the search max results size
|
||||
Element isBulkFetchEnabled = element.element(ELEMENT_BULKFETCHENABLED);
|
||||
if (isBulkFetchEnabled != null)
|
||||
{
|
||||
configElement.setBulkFetchEnabled(Boolean.parseBoolean(isBulkFetchEnabled.getTextTrim()));
|
||||
}
|
||||
|
||||
// get the selectors search max results size
|
||||
Element selectorsSearchMaxResults = element.element(ELEMENT_SELECTORSSEARCHMAXRESULTS);
|
||||
if (selectorsSearchMaxResults != null)
|
||||
|
Reference in New Issue
Block a user