Revision f15d0412
Added by Stephen Benjamin about 10 years ago
app/helpers/hosts_and_hostgroups_helper.rb | ||
---|---|---|
|
||
def os_media
|
||
return [] if @operatingsystem.blank?
|
||
@operatingsystem.media.with_taxonomy_scope_override(@location,@organization)
|
||
@operatingsystem.media.with_taxonomy_scope(@location,@organization,:path_ids)
|
||
end
|
||
|
||
def os_ptable
|
Also available in: Unified diff
fixes #5660 - use with_taxonomy_scope for OS media selection