mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged 5.2.N (5.2.1) to HEAD (5.2)
130174 gjames: Merged searchapi (5.2.1) to 5.2.N (5.2.1) 129785 gjames: SEARCH-114: Adding skipcount to hasMoreItems. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130325 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -86,7 +86,7 @@ public class ResultMapper
|
||||
);
|
||||
|
||||
Integer total = Integer.valueOf(totalItems.intValue());
|
||||
return CollectionWithPagingInfo.asPaged(params.getPaging(), noderesults, noderesults.size() < total, total);
|
||||
return CollectionWithPagingInfo.asPaged(params.getPaging(), noderesults, noderesults.size() + params.getPaging().getSkipCount() < total, total);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user