You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem with sorting is due to a limitation in spring-data-redis. Should be possible to implement a workaround, we are looking at this but it is unclear when we might have time to implement it.
The resource findByStatus sorts only inside the page and not over complete collection.
Actual:
http://host/encoreJobs/search/findByStatus?status=SUCCESSFUL&sort=createdDate,desc&page=0&size=2
Response: {... [{... "createdDate": "2022-01-04" ...},{... "createdDate": "2022-01-02" ...}] ...}
http://host/encoreJobs/search/findByStatus?status=SUCCESSFUL&sort=createdDate,desc&page=1&size=2
Response: {... [{... "createdDate": "2022-01-03" ...},{... "createdDate": "2022-01-01" ...}] ...}
Expected:
http://host/encoreJobs/search/findByStatus?status=SUCCESSFUL&sort=createdDate,desc&page=0&size=2
Response: {... [{... "createdDate": "2022-01-04" ...},{... "createdDate": "2022-01-03" ...}] ...}
http://host/encoreJobs/search/findByStatus?status=SUCCESSFUL&sort=createdDate,desc&page=1&size=2
Response: {... [{... "createdDate": "2022-01-02" ...},{... "createdDate": "2022-01-01" ...}] ...}
The text was updated successfully, but these errors were encountered: