mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 01:35:34 +08:00
Fix inventory item counter on inventory page [SCI-10997]
This commit is contained in:
parent
e561594a47
commit
dd42485cd4
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ module Lists
|
|||
.joins(:team)
|
||||
.select('repositories.*')
|
||||
.select('MAX(teams.name) AS team_name')
|
||||
.select('COUNT(repository_rows.*) AS row_count')
|
||||
.select('COUNT(DISTINCT(repository_rows.*)) AS row_count')
|
||||
.select('MAX(creators.full_name) AS created_by_user')
|
||||
.select('MAX(archivers.full_name) AS archived_by_user')
|
||||
.select(shared_sql_select)
|
||||
|
|
Loading…
Reference in a new issue