-
Notifications
You must be signed in to change notification settings - Fork 814
Closed
Description
The new pageable support in version 2.1.1 can't handle the sorting in the pageable.
Here is my code:
@RequestMapping(method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE) Page<T> findAll(@RequestParam("parameters") Map<String, Collection<String>> parameters, @RequestBody Pageable page);
When I call this method size and page parameters are mapped fine, sorting is not working.
Let's expect I have a pageable with a sort on id,asc.
So the request url should look like example.com/api/test?page=0&size=10&sort=id,ASC
But the actual request url looks like example.com/api/test?page=0&size=10&sort=id&sort=ASC
golart
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working