app/views/katello/api/v2/organizations/show.json.rabl in katello-4.4.2.2 vs app/views/katello/api/v2/organizations/show.json.rabl in katello-4.5.0.rc1
- old
+ new
@@ -22,10 +22,16 @@
node :default_content_view_id do |org|
org.default_content_view.id
end
node(:composite_content_views_count) { Katello::ContentView.readable&.in_organization(Organization.current)&.composite&.count }
-node(:content_view_components_count) { Katello::ContentView.readable&.in_organization(Organization.current)&.non_composite&.non_default&.count }
+node(:content_view_components_count) do
+ Katello::ContentView.readable&.
+ in_organization(Organization.current)&.
+ non_composite&.
+ non_default&.
+ not_generated_for_repository&.count
+end
node :library_id do |org|
org.library.id
end