mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
Tweaked earlier fix for ALF-9441 (Invitation process still uses lucene based searches to find people and groups to invite) to behave correctly when a zone is present.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29058 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -56,15 +56,8 @@ function main()
|
||||
if (authorityType == null || authorityType == "GROUP")
|
||||
{
|
||||
// Get the collection of groups
|
||||
if (zone == null)
|
||||
{
|
||||
paging = utils.createPaging(maxResults, -1);
|
||||
groupsFound = groups.getGroups(filter, paging);
|
||||
}
|
||||
else
|
||||
{
|
||||
groupsFound = groups.searchGroupsInZone(filter, zone);
|
||||
}
|
||||
paging = utils.createPaging(maxResults, -1);
|
||||
groupsFound = groups.getGroupsInZone(filter, zone, paging, "displayName");
|
||||
|
||||
// Filter this collection for site membership
|
||||
for (i = 0, ii = groupsFound.length; i < ii; i++)
|
||||
|
Reference in New Issue
Block a user