mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
MOB-619 - Users List search for Users Admin Console tool.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13766 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -282,6 +282,12 @@ public final class People extends BaseScopableProcessorExtension
|
|||||||
if (filter == null || filter.length() == 0)
|
if (filter == null || filter.length() == 0)
|
||||||
{
|
{
|
||||||
people = personService.getAllPeople().toArray();
|
people = personService.getAllPeople().toArray();
|
||||||
|
if (maxResults > 0 && people.length > maxResults)
|
||||||
|
{
|
||||||
|
Object[] dest = new Object[maxResults];
|
||||||
|
System.arraycopy(people, 0, dest, 0, maxResults);
|
||||||
|
people = dest;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user