From e080980e85c8c5d10eb6ffa381e11528dbcebf1f Mon Sep 17 00:00:00 2001 From: Nadja Heitmann Date: Tue, 20 Aug 2024 17:05:02 +0200 Subject: [PATCH] Fixes #37756 - Add product host count to subscription - general report Based on https://github.com/Katello/katello/commit/42f890ddad42eeaaffc12596a96d35f542d83622 --- .../report_templates/subscription_-_general_report.erb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/views/unattended/report_templates/subscription_-_general_report.erb b/app/views/unattended/report_templates/subscription_-_general_report.erb index d1ae5ba0bc7..9c78529c9d3 100644 --- a/app/views/unattended/report_templates/subscription_-_general_report.erb +++ b/app/views/unattended/report_templates/subscription_-_general_report.erb @@ -19,7 +19,7 @@ template_inputs: model: ReportTemplate require: - plugin: katello - version: 4.12.0 + version: 4.14.0 -%> <%- days_from_now = input('Days from Now') -%> <%- days_from_now = "" if days_from_now == 'no limit' -%> @@ -37,7 +37,8 @@ require: 'Start date': pool.start_date, 'End date': pool.end_date, 'Days Remaining': pool.days_until_expiration, - 'Organization': pool.organization.name + 'Organization': pool.organization.name, + 'Product Host Count': pool.product_host_count ) -%> <%- end -%> -<%= report_render -%> \ No newline at end of file +<%= report_render -%>