1

I was happy to find that in Views 3 I can sort users in a view by the number of nodes they have authored (Using a relationship "User: Content authored" and the Aggregation / 'Group by' - Count function, see here).

How can I do the same, but counting only nodes of a certain node type? (I'm actually using this in a view of profiles (Profile2), but using the relation "Profile: User UID" the solution would probably be the same).

1

Not sure if I understand you correct, but have you tried setting up a normal filter:

Content: Type (= nodetype)

  • 1
    A normal content type filter was at first not possible since it is a profile view. But with the relationship "User: Content authored" a content type filter via the relation is indeed possible and it seems to work. – arjan Mar 2 '12 at 9:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.