Class: Katello::ContentViewPackageGroupFilterRule
- Defined in:
- app/models/katello/content_view_package_group_filter_rule.rb
Class Method Summary collapse
Methods included from Katello::Concerns::ContentViewFilterRuleCommon
Methods inherited from Model
Class Method Details
.in_content_views(content_view_ids) ⇒ Object
12 13 14 15 |
# File 'app/models/katello/content_view_package_group_filter_rule.rb', line 12 def self.in_content_views(content_view_ids) joins('INNER JOIN katello_content_view_filters ON katello_content_view_package_group_filter_rules.content_view_filter_id = katello_content_view_filters.id'). where("katello_content_view_filters.content_view_id IN (#{content_view_ids.join(',')})") end |