mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-31 03:59:51 +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)
|
||||
.merge(Experiment.active)
|
||||
.merge(MyModule.active)
|
||||
.group(:id)
|
||||
.select(:id, :name)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue