From a44149e18dc9af61d3b74187040dcad434562589 Mon Sep 17 00:00:00 2001 From: Jeremy Lenz Date: Mon, 2 Dec 2024 15:20:27 -0500 Subject: [PATCH] Fixes #38055 - Send active=include for Product.all --- app/lib/katello/resources/candlepin/product.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/katello/resources/candlepin/product.rb b/app/lib/katello/resources/candlepin/product.rb index 262e3a2eff2..d06589f4e32 100644 --- a/app/lib/katello/resources/candlepin/product.rb +++ b/app/lib/katello/resources/candlepin/product.rb @@ -4,7 +4,7 @@ module Candlepin class Product < CandlepinResource class << self def all(owner_label, included = []) - products = JSON.parse(Candlepin::CandlepinResource.get(path(owner_label) + "?#{included_list(included)}", self.default_headers).body) + products = JSON.parse(Candlepin::CandlepinResource.get(path(owner_label) + "?active=include&#{included_list(included)}", self.default_headers).body) ::Katello::Util::Data.array_with_indifferent_access products end