Bug 2221946
| Summary: | can't sort userlist by admin flag | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Evgeni Golov <egolov> | ||||
| Component: | Users & Roles | Assignee: | satellite6-bugs <satellite6-bugs> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Satellite QE Team <sat-qe-bz-list> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.13.0 | CC: | aruzicka, mhulan, oezr | ||||
| Target Milestone: | Unspecified | Keywords: | Triaged | ||||
| Target Release: | Unused | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2023-07-18 11:25:28 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
sorting by other columns works just fine This seems to work on stream, 6.14 and 6.13.1. Sadly I don't have 6.13.0 at hand to check there. Tested with a list of users created by for i in `seq 25`; do if [[ $((i % 2 )) -gt 0 ]]; then ADMIN=true; else ADMIN=false; fi; hammer user create --login test-$i --password changeme --auth-source Internal --mail a --firstname a --lastname b --admin $ADMIN; done If there's something I missed, feel free to reopen. |
Created attachment 1975133 [details] screenshot Description of problem: When I open the user list (/users), I can click on the "Administrator" column and the page reloads (to /users?order=admin+ASC or /users?order=admin+DESC) but the data is in fact not sorted. Version-Release number of selected component (if applicable): 6.13.0 How reproducible: 100% Steps to Reproduce: 1. go to /users 2. click "Administrator" column Actual results: not sorted by the admin flag Expected results: sorted by the admin flag Additional info: