app/views/katello/api/v2/package_groups/index.json.rabl in katello-4.0.3 vs app/views/katello/api/v2/package_groups/index.json.rabl in katello-4.1.0.rc1
- old
+ new
@@ -2,6 +2,10 @@
extends "katello/api/v2/common/metadata"
child @collection[:results] => :results do
extends "katello/api/v2/package_groups/base"
+
+ if params[:include_filter_ids]
+ node(:filter_ids) { |package_group| package_group.content_view_filters.pluck(:id) }
+ end
end