Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I use User Relationships and views to make a top popular user list block.
popular means that the user have most requesters.
but I can't find any option to sort the users.
anyone can help?
Comments
Comment #1
mrf CreditAttribution: mrf commentedThat number isn't presented as a field which you would need for sorting. I've had some luck using Views Custom Field for something similar. Or you could dive into the module and create a patch to provide the number or relationships to views in a less hackish way.
Comment #2
mrf CreditAttribution: mrf commentedThere are a number of relatively easy ways to find this information, and I don't see a wider need for this feature.
Comment #3
Vj CreditAttribution: Vj commented@mrf
Hi,
I want to sort the view based on most popular user(user with most relationships). Can you please guide me to achieve this using views or any other alternate way.
Thanks,
Vj