mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 18:52:07 +08:00
Fix total number of records in task repository [SCI-1381]
This commit is contained in:
parent
14429a270c
commit
9a9f8b9c41
1 changed files with 1 additions and 0 deletions
|
@ -158,6 +158,7 @@ class RepositoryDatatable < AjaxDatatablesRails::Base
|
|||
)
|
||||
.joins(:created_by)
|
||||
.where(repository: @repository)
|
||||
return @assigned_rows if params[:assigned] == 'assigned'
|
||||
else
|
||||
@assigned_rows = repository_rows.joins(
|
||||
'INNER JOIN my_module_repository_rows ON
|
||||
|
|
Loading…
Reference in a new issue