Sha256: 133993347184a419631d20fdc35a550cab897996f87562dfe39de24a6a71131f

Contents?: true

Size: 274 Bytes

Versions: 87

Compression:

Stored size: 274 Bytes

Contents

extends "katello/api/v2/errata/show"

node :applicable_hosts do |erratum|
  erratum.hosts_available.where("#{::Host.table_name}.id" => @hosts).
  select(["#{::Host.table_name}.id", "#{::Host.table_name}.name"]).
  collect { |host| {:name => host.name, :id => host.id} }
end

Version data entries

87 entries across 87 versions & 1 rubygems

Version Path
katello-3.13.4 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.13.3 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.13.2 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.13.1 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.13.0 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.13.0.rc2.1 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.13.0.rc2 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.12.3 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.12.2 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.13.0.rc1 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.12.1 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.11.2 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.10.2 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.12.0 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.12.0.rc2 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.10.1.1 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.12.0.rc1 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.10.1 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.11.1 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.11.0 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl