Skip to content

Commit fe22864

Browse files
committed
Ensure nodes are ordered alphabetically in provider form. Fixes #896
1 parent bab4a80 commit fe22864

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/views/content_providers/_form.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
<!-- Nodes: check feature enabled -->
3636
<% if TeSS::Config.feature['nodes'] %>
37-
<%= f.input :node_id, label: 'ELIXIR node', collection: Node.all, label_method: :title %>
37+
<%= f.input :node_id, label: 'ELIXIR node', collection: Node.order(:name).all, label_method: :name %>
3838
<% end %>
3939

4040
<div class="form-group">

0 commit comments

Comments
 (0)