The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

Skip to content
Snippets Groups Projects
Commit 2d48b2ab authored by Demian Katz's avatar Demian Katz
Browse files

Fixed inaccurate list count.

parent fc5d8300
No related merge requests found
...@@ -203,7 +203,7 @@ class User extends RowGateway ...@@ -203,7 +203,7 @@ class User extends RowGateway
array( array(
'*', '*',
'cnt' => new Expression( 'cnt' => new Expression(
'COUNT(?)', array('ur.list_id'), 'COUNT(DISTINCT(?))', array('ur.resource_id'),
array(Expression::TYPE_IDENTIFIER) array(Expression::TYPE_IDENTIFIER)
) )
) )
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment