We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Descending sort is not working
Tried with below URL with example schema in readme.
http://localhost:3000/posts?_sort=id&_order=desc Also
http://localhost:3000/posts?_sort=id&_order=desc
Thanks Abhishek
The text was updated successfully, but these errors were encountered:
Hi @AbhiBhattacharyya
Sort works differently in v1 https://github.com/typicode/json-server?tab=readme-ov-file#sort
Sorry, something went wrong.
No branches or pull requests
Descending sort is not working
Tried with below URL with example schema in readme.
http://localhost:3000/posts?_sort=id&_order=desc
Also
http://localhost:3000/posts?_sort=id&_order=desc
Thanks
Abhishek
The text was updated successfully, but these errors were encountered: