Is there any way to sort users by count of nodes they had added? I've trying to do it using views, but i didn't find such item in sotrs of criteria. I will be grateful for any help! Thank you!

Comments

dawehner’s picture

That's quite tricky to achieve but it's possible.

Add a view of nodes.
First check "use aggregate". Once you have done this add one content: nid field and one user: name field (with the relationship).
Once this was done you have to count for the nid and group by the uid. The same can be done for sort as well, that's what you need.

zhenjan’s picture

Great thank you!!! That was exactly what i need!!!

zhenjan’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

peterkortvel’s picture

Thank you, but this does not show the users with no added content. How could I do this?