mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-04 19:53:19 +08:00
Fix assigned repository rows in task display
Closes SCI-1340.
This commit is contained in:
parent
5ac0ed4505
commit
90ca6d9a76
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…
Reference in a new issue