mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 19:51:01 +08:00
Fix task ordering in reports [SCI-1008]
This commit is contained in:
parent
ab0d882be1
commit
0ef9c7eff6
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ module ReportActions
|
|||
|
||||
def generate_experiment_contents_json(experiment, selected_modules)
|
||||
res = []
|
||||
experiment.my_modules.each do |my_module|
|
||||
experiment.my_modules.order(:workflow_order).each do |my_module|
|
||||
next unless selected_modules.include?(my_module.id)
|
||||
|
||||
res << generate_new_el(false)
|
||||
|
|
Loading…
Reference in a new issue