mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-13 16:45:18 +08:00
Merge pull request #670 from Ducz0r/lm-sci-1340
Fix assigned repository rows in task display [SCI-1340]
This commit is contained in:
commit
28f78a0c6c
1 changed files with 5 additions and 1 deletions
|
@ -148,7 +148,11 @@ class RepositoryDatatable < AjaxDatatablesRails::Base
|
|||
)
|
||||
.where(repository: @repository)
|
||||
|
||||
@assigned_rows = @my_module.repository_rows if @my_module
|
||||
if @my_module
|
||||
@assigned_rows = @my_module
|
||||
.repository_rows
|
||||
.where(repository: @repository)
|
||||
end
|
||||
|
||||
# Make mappings of custom columns, so we have same id for every column
|
||||
i = 5
|
||||
|
|
Loading…
Add table
Reference in a new issue