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