Skip to content

Commit fd10bef

Browse files
committed
Sort roles/groups (numerically by id) with space separator
1 parent 8dc5de0 commit fd10bef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/helpers/report_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def visibility_options(widget)
3030
if values.first == "_ALL_"
3131
_("To All Users")
3232
else
33-
display_values = widget.visibility_values.join(',')
33+
display_values = widget.visibility_values.sort.join(', ')
3434
_("By %{typ}: %{values}") % {:typ => typ.to_s.titleize, :values => display_values}
3535
end
3636
end

0 commit comments

Comments
 (0)