MNT-20822 adding comment to overwritten method

This commit is contained in:
Ross Gale
2020-01-09 13:36:35 +00:00
parent 75bc33640e
commit 1e38a577a0

View File

@@ -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();