By Andy on Friday, 02 December 2016
Posted in Groups
Likes 0
Views 517
Votes 0
MY TEST FRONT END GROUP CATEGORY PAGE: https://www.mysite.com/test

Can you confirm how the 'Sort by Popularity' behaviour is intended to work on the group view page?

I had assumed it would be by membership number, but on the link I provide to my site, it doesn't seem to do that.
Hi Chris,

I had assumed it would be by membership number, but on the link I provide to my site, it doesn't seem to do that.

Actually, this "Sort by popularity" is sorted by how many "hit" the group have. As you can see on this table"*_social_cluster", where got i column named "hit". I have tested these in my local and checked on it codes.

For better view
codes:

$sortItems->popular->url = ESR::groups(array_merge($sortUrls, array('ordering' => 'popular')));

on Database
http://screencast.com/t/3f3CN7ps
on "sort by popularity"/frontend
http://screencast.com/t/MzoNQx5J

Please advice.
·
Friday, 02 December 2016 12:53
·
0 Likes
·
0 Votes
·
0 Comments
·
OK that makes sense. Thank you!
·
Friday, 02 December 2016 22:02
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Friday, 02 December 2016 22:55
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post