Skip to content

Commit

Permalink
Unify sorting in GOD of Button Groups
Browse files Browse the repository at this point in the history
GOD tree sorts Button Groups by their name. Fixing table to have same sort as tree

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1665031
  • Loading branch information
ZitaNemeckova committed May 1, 2019
1 parent 0447567 commit 578acdb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
%th
= _('Hover Text')
%tbody
- @record.custom_button_sets.each do |obj|
- @record.custom_button_sets.sort_by{ |group | group.name }.each do |obj|
%tr
%td.table-view-pf-select
%i{:class => obj.set_data[:button_icon], :style => obj.set_data.key?(:button_color) ? "color: #{obj.set_data[:button_color]};" : nil}
Expand Down

0 comments on commit 578acdb

Please sign in to comment.