Skip to content

Add support for nullFirst/nullsLast from get-query parameter #2080

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
membersound opened this issue Oct 20, 2021 · 1 comment
Closed

Add support for nullFirst/nullsLast from get-query parameter #2080

membersound opened this issue Oct 20, 2021 · 1 comment
Assignees
Labels
status: duplicate A duplicate of another issue

Comments

@membersound
Copy link

membersound commented Oct 20, 2021

It is already possible to set the Sort.Direction from a GET query: &sort=name,desc

https://docs.spring.io/spring-data/rest/docs/current/reference/html/#paging-and-sorting.sorting
curl -v "http://localhost:8080/people/search/nameStartsWith?name=K&sort=name,desc"

It would be nice if one could as well set the Sort.NullHandling, like: &sort=name,desc+nullsFirst or similar.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Oct 20, 2021
@mp911de mp911de added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged labels Oct 25, 2021
@mp911de
Copy link
Member

mp911de commented Oct 25, 2021

Duplicates #1409

@mp911de mp911de closed this as completed Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

4 participants