mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
MNT-20822 adding comment to overwritten method
This commit is contained in:
@@ -450,6 +450,13 @@ public class RMAfterInvocationProvider extends RMSecurityCommon
|
||||
@Override
|
||||
public boolean hasMore()
|
||||
{
|
||||
/*
|
||||
Overriding for MNT-20822
|
||||
Changing code to correct the hasMore field in the search api response.
|
||||
Basing off the implementation in SolrJSONResultSet with changes due to
|
||||
numberFound being equal to skip + count rather than an accurate number
|
||||
of possible results
|
||||
*/
|
||||
return getUnFilteredResultSet().length() >= getResultSetMetaData()
|
||||
.getSearchParameters()
|
||||
.getMaxItems();
|
||||
|
Reference in New Issue
Block a user