app/views/katello/api/v2/packages/base.json.rabl in katello-3.2.1.1 vs app/views/katello/api/v2/packages/base.json.rabl in katello-3.3.0.rc1

- old
+ new

@@ -1,5 +1,8 @@ object @resource attributes :id, :uuid, :name, :version, :release, :arch, :epoch, :summary attributes :filename, :sourcerpm, :checksum attributes :nvrea, :nvra + +node(:hosts_available_count) { |m| m.hosts_available(params[:organization_id]).count } +node(:hosts_applicable_count) { |m| m.hosts_applicable(params[:organization_id]).count }