Project

General

Profile

Actions

Bug #22491

closed

Wrong search result, when trying to filter for particular compliance policy

Added by Marek Hulán almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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

Actions

Also available in: Atom PDF