Actions
Bug #6966
closedAPI: sorting should contain a default direction
Description
If you do not specify a direction when using the order parameter you will receive the following error message:
{"displayMessage":"Cannot sort by ''","errors":["Cannot sort by ''"]}
We should default to DESC if no direction is supplied.
Steps to Reproduce¶
1. Hit an index URL with ordering such as /katello/api/v2/products?order=name&organization_id=1
2. Notice above error message
Updated by Eric Helms over 8 years ago
- translation missing: en.field_release set to 86
Updated by Eric Helms about 8 years ago
- translation missing: en.field_release changed from 86 to 114
Updated by John Mitsch over 4 years ago
- Status changed from New to Closed
Thanks for reporting this issue. This issue was created over 4 years ago and hasn't seen an update in 1 year. We are closing this in an effort to keep a realistic backlog. Please open up a new issue that includes a link to this issue if you feel this still needs to be addressed. We can then triage the new issue and reassess.
Updated by Justin Sherrill over 4 years ago
- Target version deleted (
Katello Backlog)
Updated by Justin Sherrill over 4 years ago
- Status changed from Closed to Rejected
Actions