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.11.0.rc2 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.11.0.rc1 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.10.0 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.10.0.rc1.1 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.9.1 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.10.0.rc1 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.9.0 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.8.1 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.9.0.rc2 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.9.0.rc1 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.7.1.1 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.7.1 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.8.0 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.8.0.rc3 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.8.0.rc2 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.7.0 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.8.0.rc1 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.7.0.rc2 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.7.0.rc1 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
katello-3.5.2 app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl