Project

General

Profile

Actions

Bug #25180

closed

Providing custom=false to products controller does not filter out custom products

Added by Walden Raines about 6 years ago. Updated almost 6 years ago.


Description

If I provide custom=false I still get custom products, see: https://github.com/Katello/katello/blob/b7dc5d44d9d2af3b64a0c063a67f1e810be891cb/app/controllers/katello/api/v2/products_controller.rb#L50

Steps to Reproduce

  • Access products API with custom=false (or any other value for that matter) - /katello/api/v2/organizations/1/products/?custom=false
  • Notice that only custom products are returned regardless of the value supplied to custom
Actions

Also available in: Atom PDF