Description of problem: The current noncomposite filter is only a filter that allows excluding of the composite content views. It is not possible to retrieve only the composite content views instead. This is therefor a strange filter, it would be more intuitive and consistent to have a "composite" filter, when set then check if the composite value matches. # curl -K /opt/hoici/etc/curl-hoici.conf -H 'Content-Type: application/json' -d '{"per_page":9999,"noncomposite":false}' -XGET https://localhost/katello/api/v2/organizations/4/content_views | jq .results[].composite true null null null null null true null null true null null null null Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Create a Composite Content View 2. Create a regular content view 3. List only the composite content view Actual results: regular content view is also included Expected results: only composite content views are listed Additional info:
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release.
This is more of a bug, adjusting accordingly
Created redmine issue http://projects.theforeman.org/issues/13837 from this bug
Moving to POST since upstream bug http://projects.theforeman.org/issues/13837 has been closed ------------- David Davis Applied in changeset commit:katello|ce6941cd3934f55c358669762c2486b8e4cb367b.
Verified in Satellite 6.2 Beta Snap 6 Compose 1. You can now filter the results to include only composite content views. {"composite":true}
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1500