Author: haint
Date: 2011-11-06 21:36:00 -0500 (Sun, 06 Nov 2011)
New Revision: 7989
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIUserInGroup.java
Log:
GTNPORTAL-2261 Exception when add over 10 user into group
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIUserInGroup.java
===================================================================
---
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIUserInGroup.java 2011-11-07
02:26:05 UTC (rev 7988)
+++
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIUserInGroup.java 2011-11-07
02:36:00 UTC (rev 7989)
@@ -133,7 +133,7 @@
{
OrganizationService service =
getApplicationComponent(OrganizationService.class);
MembershipHandler handler = service.getMembershipHandler();
- pageList = new FindMembershipByGroupPageList(group.getId(), 10);
+ pageList = new FindMembershipByGroupPageList(group.getId(),
handler.findAllMembershipsByGroup(group).getSize());
}
UIGridUser uiGrid = getChild(UIGridUser.class);
pageList.setPageSize(5);