Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
4.0.24
-
None
-
None
-
ALL
-
Description
When we query MongoDB in environment Atlas version 4.0.24 with SortBy and Pagination, returning duplicate documents.
Repository Query:
Pageable pageable = PageRequest.of(loop, 50, Sort.by("ClassId"));
List<Document> findByClassIdIn(List<ObjectId> classIds, Pageable pageable);