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

Fixed inaccurate list count.

parent fc5d8300
Branches
Tags
No related merge requests found
......@@ -203,7 +203,7 @@ class User extends RowGateway
array(
'*',
'cnt' => new Expression(
'COUNT(?)', array('ur.list_id'),
'COUNT(DISTINCT(?))', array('ur.resource_id'),
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