Skip to content

Commit

Permalink
MID-2481 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Sep 14, 2015
1 parent ea2da51 commit 6f525c8
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -362,8 +362,13 @@ public ObjectQuery getQuery() {
form.add(childOrgUnitContainer);

List<IColumn<OrgTableDto, String>> childTableColumns = createChildTableColumns();

MidPointAuthWebSession session = getSession();
SessionStorage storage = session.getSessionStorage();
int pageSize = storage.getUserProfile().getPagingSize(UserProfileStorage.TableId.TREE_TABLE_PANEL_CHILD);

final TablePanel childTable = new TablePanel<>(ID_CHILD_TABLE, childTableProvider, childTableColumns,
UserProfileStorage.TableId.TREE_TABLE_PANEL_CHILD, UserProfileStorage.DEFAULT_PAGING_SIZE);
UserProfileStorage.TableId.TREE_TABLE_PANEL_CHILD, pageSize);
childTable.setOutputMarkupId(true);
childTable.getNavigatorPanel().add(new VisibleEnableBehaviour(){

Expand Down

1 comment on commit 6f525c8

@KaterynaHonchar
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

incorrect issue number in the commit message: the correct one is MID-2536

Please sign in to comment.