mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 09:42:46 +08:00
Merge pull request #3545 from artoscinote/ma_SCI_6048
Sort experiments alphabetically in move task modal [SCI-6048]
This commit is contained in:
commit
03bf81a6ab
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