mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-22 04:55:42 +08:00
Fix project table sorting by users [SCI-10349]
This commit is contained in:
parent
338782de1e
commit
27e1317888
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…
Add table
Reference in a new issue