Skip to content

Commit

Permalink
Fixes #36585 - Add cv rules to cvv info filters
Browse files Browse the repository at this point in the history
  • Loading branch information
chris1984 committed Jul 21, 2023
1 parent 1e18915 commit 05ef2c8
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions lib/hammer_cli_katello/content_view_version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,27 @@ class InfoCommand < HammerCLIKatello::InfoCommand
from :filter do
field :id, _("Id")
field :name, _("Name")
field :content, _('Type')
field :inclusion, _('Inclusion'), Fields::Boolean
field :original_packages, _('Original packages'), Fields::Boolean, hide_blank: true
# rubocop:disable Layout/LineLength
field :original_module_streams, _('Original module streams'), Fields::Boolean, hide_blank: true
# rubocop:enable Layout/LineLength
end
collection :rules, _("Rules"), hide_blank: true, hide_empty: true do
field :id, _('Id')
field :name, _('Name'), Fields::Field, hide_blank: true
field :uuid, _('UUID'), Fields::Field, hide_blank: true
field :module_stream_id, _('Module stream Id'), Fields::Field, hide_blank: true
collection :types, _('Types'), hide_blank: true, hide_empty: true do
field nil, _('')
end
field :architecture, _('Architecture'), Fields::Field, :hide_blank => true
field :content_view_filter_id, _('Content view filter Id')
field :errata_id, _('Errata Id'), Fields::Field, :hide_blank => true
field :date_type, _('Date type'), Fields::Field, :hide_blank => true
field :start_date, _('Start date'), Fields::Field, :hide_blank => true
field :end_date, _('End date'), Fields::Field, :hide_blank => true
end
end
field :dependency_solving, _("Dependency Solving"), Fields::Field, :hide_blank => true
Expand Down

0 comments on commit 05ef2c8

Please sign in to comment.