mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-28 02:27:57 +08:00
Fix repository rows count
This commit is contained in:
parent
6726a19cbe
commit
79ef4ece28
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ module RepositoriesDatatableHelper
|
|||
result.push(
|
||||
'DT_RowId': repository.id,
|
||||
'1': escape_input(repository.name),
|
||||
'2': repository.repository_rows.size,
|
||||
'2': repository.active? ? repository.repository_rows.active.size : repository.repository_rows.size,
|
||||
'3': shared_label(repository, team),
|
||||
'4': escape_input(repository.team.name),
|
||||
'5': I18n.l(repository.created_at, format: :full),
|
||||
|
|
Loading…
Reference in a new issue