-
-
Notifications
You must be signed in to change notification settings - Fork 98
Closed
Description
Hi, when sorting items i don't get all the results back.
ObjectFilter belongsToUser = eq("userId", 1);
FindOptions sortBy = FindOptions.sort("status", SortOrder.Descending)
//Without sorting
nitrate.getRepository(Post.class).find(belongsToUser) // returns 26 items
// With sorting
nitrate.getRepository(Post.class).find(belongsToUser, sortBy) // returns 5 itemsUsing FindOptions.sort should return the exact same items but sorted.
Note that status is not unique
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done