mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-27 18:21:50 +08:00
Sort experiments alphabetically in move task modal [SCI-6048]
This commit is contained in:
parent
41e41f790b
commit
534ab25e5d
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
<h4 class="modal-title" id="modal-move-module-label"><%=t "experiments.canvas.edit.modal_move_module.title" %></h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<% experiments = @experiment.project.experiments.active %>
|
||||
<% experiments = @experiment.project.experiments.order(name: :asc).active %>
|
||||
<% if experiments.count > 1 %>
|
||||
<%= bootstrap_form_tag do |f| %>
|
||||
<%= f.select :experiment_id, experiments
|
||||
|
|
Loading…
Reference in a new issue