mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-12 18:38:02 +08:00
Fix duplicated projects in the drop down on the new reports page [SCI-6375]
This commit is contained in:
parent
1e652c0a73
commit
f4e2727af1
1 changed files with 1 additions and 0 deletions
|
@ -360,6 +360,7 @@ class ReportsController < ApplicationController
|
|||
.with_granted_permissions(current_user, ProjectPermissions::READ)
|
||||
.merge(Experiment.active)
|
||||
.merge(MyModule.active)
|
||||
.group(:id)
|
||||
.select(:id, :name)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue