Using Views, I can create a list of authors, and show the number of nodes that they have published. I've done this using aggregation. The part I can't figure out is how to filter the output based on the user profile that you're viewing. For example, if you're viewing user/1, I want you to see the number of nodes that user 1 has published.
I've tried using different
uid contextual filters. In this example, I'm using
"User: Uid" as the filter, and I'm trying to pull the uid from the URL by selecting
"'Provide default value' > 'Use ID from URL'" in the filter's options. Since
aggregation settings are on, you have to apply an aggregation type to the filter, and I'm not sure what that should be set on.
Any feedback would be appreciated. By the way, I'm using Display Suite to build the profile layout, so if there's an easier way to get want I need, I'm open for suggestions. Thanks in advance.
EDIT: For anyone attempting to do this, keep in mind that your output will not show up in the Views preview. I was forced to navigate to a user profile in order to test this. This issue seems to sprout from the combination of aggregation and contextual filters.