mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-19 05:47:53 +08:00
Merge pull request #7195 from rekonder/aj_SCI_10349
Fix project table sorting by users [SCI-10349]
This commit is contained in:
commit
f0cd4a0b64
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ module Lists
|
|||
end
|
||||
|
||||
def project_users_count(object)
|
||||
project?(object) ? object.users.count : 0
|
||||
project?(object) ? object.users.count : -1
|
||||
end
|
||||
|
||||
def project?(object)
|
||||
|
|
Loading…
Reference in a new issue