Order/sort activity by “most favorites”
Hi, I would like to create a button on the activity stream page that once clicked sorts the activities by the number of favorites each of them have. In other words, the point is to show the “most popular” activity items, based on how much each was “favorited”.
Note: The sorting is for favorites by everyone, no just the user clicking the button, for each activity item, and should also return the number of favorites.
Any help would be greatly appreciated as I can’t find anything on google or anywhere
- The topic ‘Order/sort activity by “most favorites”’ is closed to new replies.