Merge pull request #7195 from rekonder/aj_SCI_10349

Fix project table sorting by users [SCI-10349]
This commit is contained in:
aignatov-bio 2024-03-05 11:48:11 +01:00 committed by GitHub
commit f0cd4a0b64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)