Wrong search result, when trying to filter for particular compliance policy
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):
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.
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
Returns all the arf reports.
Sorted reports according to the search filter.
Also tested this on satellite 6.2.12 and found the same results