Bug #22491
closedWrong search result, when trying to filter for particular compliance policy
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1541109
Description of problem:
Getting wrong search result, when trying to filter for particular compliance_policy in Satellite WebUI > Hosts > Reports
Version-Release number of selected component (if applicable):
Satellite 6.3.0
How reproducible:
Make sure there are more than one arf reports from different compliance policies.
Steps to Reproduce:
1. Go to satellite webui > Hosts > Reports
2. In search filter put " compliance_policy = anything"
3. It results showing all the reports.
Also the API call return all the reports.
Example -
curl -X GET -s -k -u admin:redhat https://vm253-190.gsslab.pnq2.redhat.com/api/v2/compliance/arf_reports?search="compliance_policy=xyz" | python -m json.tool
Actual results:
Returns all the arf reports.
Expected results:
Sorted reports according to the search filter.
Also tested this on satellite 6.2.12 and found the same results
Updated by Marek Hulán almost 7 years ago
- Subject changed from Wrong search result, when trying to filter for particular compliance policy to Wrong search result, when trying to filter for particular compliance policy
- Priority changed from High to Normal
reproducible with develop checkout
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ondřej Pražák
- Pull request https://github.com/theforeman/foreman_openscap/pull/337 added
Updated by Marek Hulán over 6 years ago
- Translation missing: en.field_release set to 364
Updated by Marek Hulán over 6 years ago
- Status changed from Ready For Testing to Closed