Skip to content
Snippets Groups Projects
Commit 8d4502ee authored by juanf's avatar juanf
Browse files

bugfix pagination in queries

parent 1495938d
No related branches found
No related tags found
No related merge requests found
......@@ -250,7 +250,7 @@ public abstract class AbstractSearchObjectsOperationExecutor<OBJECT, OBJECT_PE,
final List<OBJECT> finalResults = new ArrayList<>(sortedAndPagedResultV3DTOs.values());
final List<OBJECT> sortedFinalResults = getSortedFinalResults(criteria, fetchOptions, finalResults);
final SearchResult<OBJECT> searchResult = new SearchResult<>(sortedFinalResults, sortedAndPagedResultV3DTOs.size());
final SearchResult<OBJECT> searchResult = new SearchResult<>(sortedFinalResults, allResultsIds.size());
return getOperationResult(searchResult);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment