By Josh Lewis on Saturday, 24 January 2015
Posted in General Issues
Replies 3
Likes 0
Views 825
Votes 0
Indeed the "EasySocial Recent Photos" module displays photos as expected, but it seems to be randomly sorting them. According to the module description "This module displays a list of recent photos that is created on the site." Even if the sorting was meant to be random by applying a "recent filter", photos from over a year ago show up. Either way you look at it, the photos displayed are neither based on latest or new.

You can see the issue here. Refresh the page, you will see different images load each time.
Thanks Josh, will fix this in the next release
·
Monday, 26 January 2015 02:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Josh,

Edit the file /modules/mod_easysocial_photos/mod_easysocial_photos.php and at line 45 locate the codes below:


$options = array('ordering' => 'random', 'limit' => $params->get('limit', 20));


Replace it with,


$options = array('limit' => $params->get('limit', 20));
·
Sunday, 25 January 2015 15:11
·
0 Likes
·
0 Votes
·
0 Comments
·
I'm glad we are a step closer in the right direction. It appears that it's loading the oldest first instead of the newest based on the mod you provided. So we need the sorting reversed to display the newest.
·
Sunday, 25 January 2015 21:43
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post