Sha256: 39e76e3aa507c92be0b13745db7324e7663b0e13eef791b385fa11951651806e

Contents?: true

Size: 309 Bytes

Versions: 9

Compression:

Stored size: 309 Bytes

Contents

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

node :applicable_consumers do |erratum|
  erratum.hosts_available.where(:host_id => @systems.map(&:host_id)).
  select(["#{Katello::Host::ContentFacet.table_name}.uuid", "#{Host.table_name}.name"]).
  collect { |system| {:name => system.name, :uuid => system.uuid} }
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
katello-3.0.2 app/views/katello/api/v2/systems_bulk_actions/erratum.json.rabl
katello-3.0.1 app/views/katello/api/v2/systems_bulk_actions/erratum.json.rabl
katello-3.0.0 app/views/katello/api/v2/systems_bulk_actions/erratum.json.rabl
katello-3.0.0.rc7 app/views/katello/api/v2/systems_bulk_actions/erratum.json.rabl
katello-3.0.0.rc5 app/views/katello/api/v2/systems_bulk_actions/erratum.json.rabl
katello-3.0.0.rc4 app/views/katello/api/v2/systems_bulk_actions/erratum.json.rabl
katello-3.0.0.rc3 app/views/katello/api/v2/systems_bulk_actions/erratum.json.rabl
katello-3.0.0.rc2 app/views/katello/api/v2/systems_bulk_actions/erratum.json.rabl
katello-3.0.0.rc1 app/views/katello/api/v2/systems_bulk_actions/erratum.json.rabl