mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix to add explicity IDs to all components in Spaces and Content panels in Browse screen so they can be expanded/collapsed. Fix to allow page size of Spaces/Content panels to be changes on the fly
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3097 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -409,7 +409,7 @@ public class UIRichList extends UIComponentBase implements IDataContainer
|
||||
int rowCount = getDataModel().size();
|
||||
// if a page size is specified, then we use that
|
||||
int pageSize = getPageSize();
|
||||
if (pageSize != -1)
|
||||
if (pageSize != -1 && pageSize != 0)
|
||||
{
|
||||
// calc start row index based on current page index
|
||||
this.rowIndex = (this.currentPage * pageSize) - 1;
|
||||
|
Reference in New Issue
Block a user