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:
Alan Davis
2016-09-06 22:03:46 +00:00
parent 02d1385296
commit f7d4b978fa

View File

@@ -86,7 +86,7 @@ public class ResultMapper
); );
Integer total = Integer.valueOf(totalItems.intValue()); 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);
} }
} }