mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Merge branch 'revert-80b8dd2b' into 'release/V2.6'
Revert "Merge branch 'merge-2.6/MNT-20822_hasMore' into 'release/V2.6'" See merge request records-management/records-management!1356
This commit is contained in:
@@ -446,21 +446,6 @@ public class RMAfterInvocationProvider extends RMSecurityCommon
|
|||||||
{
|
{
|
||||||
this.numberFound = numberFound;
|
this.numberFound = numberFound;
|
||||||
}
|
}
|
||||||
|
|
||||||
@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();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
BitSet inclusionMask = new BitSet(returnedObject.length());
|
BitSet inclusionMask = new BitSet(returnedObject.length());
|
||||||
|
Reference in New Issue
Block a user