mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-21 22:33:13 +08:00
Merge pull request #3740 from okriuchykhin/ok_SCI_6375
Fix duplicated projects in the drop down on the new reports page [SCI-6375]
This commit is contained in:
commit
0be7a363d7
1 changed files with 1 additions and 0 deletions
|
@ -360,6 +360,7 @@ class ReportsController < ApplicationController
|
||||||
.with_granted_permissions(current_user, ProjectPermissions::READ)
|
.with_granted_permissions(current_user, ProjectPermissions::READ)
|
||||||
.merge(Experiment.active)
|
.merge(Experiment.active)
|
||||||
.merge(MyModule.active)
|
.merge(MyModule.active)
|
||||||
|
.group(:id)
|
||||||
.select(:id, :name)
|
.select(:id, :name)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue