From adfb230eb517ab7c9e284da0117c21ee582dda85 Mon Sep 17 00:00:00 2001 From: Nadja Heitmann Date: Wed, 4 Dec 2024 10:59:40 +0000 Subject: [PATCH] Fixes #38062 - Fix scoped search for composite key for CVs --- app/models/katello/content_view.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/katello/content_view.rb b/app/models/katello/content_view.rb index 4630db38c3e..e13cb2f9735 100644 --- a/app/models/katello/content_view.rb +++ b/app/models/katello/content_view.rb @@ -112,7 +112,7 @@ class ContentView < Katello::Model scoped_search :on => :name, :complete_value => true scoped_search :on => :organization_id, :complete_value => true, :only_explicit => true, :validator => ScopedSearch::Validators::INTEGER scoped_search :on => :label, :complete_value => true - scoped_search :on => :composite, :complete_value => true + scoped_search :on => :composite, :complete_value => { :true => true, :false => false } scoped_search :on => :generated_for, :complete_value => true scoped_search :on => :default # just for ordering scoped_search :on => :name, :complete_value => true,