Bug #6573
closedSatellite6 should error when the user attempts to sort on a non-sortable field
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1110431
Description of problem:
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
- hammer activation-key list --organization-id=1 --by='name'
---|--------------|----------------|-----------------------|-------------
ID | NAME | CONSUMED | LIFECYCLE ENVIRONMENT | CONTENT VIEW
---|--------------|----------------|-----------------------|-------------
8 | ak1234 | 0 of Unlimited | | cv1
12 | ak12345678 | 0 of Unlimited | | cv1
5 | actkey | 0 of Unlimited | DEV | cv1
1 | actkey1 | 1 of Unlimited | DEV | cv1
4 | test1 | 0 of Unlimited | |
7 | ak123 | 0 of Unlimited | | cv1
11 | ak1234567 | 0 of Unlimited | | cv1
14 | ak1234567890 | 0 of Unlimited | | cv1
6 | ak | 0 of Unlimited | | cv1
9 | ak12345 | 0 of Unlimited | Library | cv1
10 | ak123456 | 0 of Unlimited | | cv1
13 | ak123456789 | 0 of 100 | | cv1
---|--------------|----------------|-----------------------|-------------
- hammer activation-key list --organization-id=1 --by='contentview'
---|--------------|----------------|-----------------------|-------------
ID | NAME | CONSUMED | LIFECYCLE ENVIRONMENT | CONTENT VIEW
---|--------------|----------------|-----------------------|-------------
8 | ak1234 | 0 of Unlimited | | cv1
12 | ak12345678 | 0 of Unlimited | | cv1
5 | actkey | 0 of Unlimited | DEV | cv1
1 | actkey1 | 1 of Unlimited | DEV | cv1
4 | test1 | 0 of Unlimited | |
7 | ak123 | 0 of Unlimited | | cv1
11 | ak1234567 | 0 of Unlimited | | cv1
14 | ak1234567890 | 0 of Unlimited | | cv1
6 | ak | 0 of Unlimited | | cv1
9 | ak12345 | 0 of Unlimited | Library | cv1
10 | ak123456 | 0 of Unlimited | | cv1
13 | ak123456789 | 0 of 100 | | cv1
---|--------------|----------------|-----------------------|-------------
Actual results:
Note that the above two results does not change
Expected results:
The --by attribute should sort the results on the given field
Additional info:
I also tried the following commands and the result was same:
#hammer activation-key list --organization-id=1 --by='NAME'
#hammer activation-key list --organization-id=1 --by='CONTENT VIEW'
Updated by The Foreman Bot almost 11 years ago
- Status changed from New to Ready For Testing
- Target version set to 49
- Pull request https://github.com/Katello/katello/pull/4420 added
- Pull request deleted (
)
Updated by Eric Helms almost 11 years ago
- Category set to API
- Difficulty set to easy
- Triaged changed from No to Yes
Updated by Anonymous almost 11 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|3ec51c074a3decb6656f85195d98b39f57ccf430.
Updated by Adam Price almost 11 years ago
- Status changed from Closed to Assigned
Updated by Eric Helms over 10 years ago
- Status changed from Assigned to Closed
- Translation missing: en.field_release set to 14
Updated by John Mitsch over 8 years ago
- Status changed from Closed to Assigned
- Translation missing: en.field_release changed from 14 to 114
- Pull request deleted (
https://github.com/Katello/katello/pull/4420)
This commit was reverted upstream, so this is still an issue, changing to assigned.
Updated by John Mitsch over 5 years ago
- Status changed from Assigned to Rejected
- Target version deleted (
Katello Backlog)
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.