Revision df168113
Added by Amir Fefer over 7 years ago
app/models/provisioning_template.rb | ||
---|---|---|
end
|
||
end
|
||
end
|
||
combos.sort_by! { |profile| [profile[:hostgroup], profile[:template]] }
|
||
combos.sort_by! { |profile| [profile[:hostgroup].title, profile[:template]] }
|
||
end
|
||
|
||
private
|
Also available in: Unified diff
Fixes #17151 - sort PXE labels by hostgroup title
(cherry picked from commit 741bf462072c31e88235114e753fa15131d30166)