Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Groups view's pager doesn't work with cache system enabled

7 years 2 months ago
  • Julián's Avatar
    Topic Author
  • Julián
  • Offline
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
Licenses:
JomSocial Active Socialize Expired

Hi, i want to report this bug.

I am on Jomsocial 4.2.6 and i having this issue related to pager on groups view. When i clic on any number of the pager, it always shows the same groups. Checking the files i found this lines on /components/com_community/views/groups/view.html.php:

// cache groups list.
            $user = CFactory::getUser();
            $username = $user->get('username');
            $featured = (!is_null($username) ) ? true : false;

            $groupsData = $this->_cachedCall('getShowAllGroups', array($category->id, $sorted, $featured), COwnerHelper::isCommunityAdmin($my->id), array(COMMUNITY_CACHE_TAG_GROUPS));
            $groupsHTML = $groupsData['HTML'];

What is missed there is the $limitstart value, so i added on this line:
$groupsData = $this->_cachedCall('getShowAllGroups', array($category->id, $sorted, $featured, $limitstart), COwnerHelper::isCommunityAdmin($my->id), array(COMMUNITY_CACHE_TAG_GROUPS));

And now it seems working fine. Is this a bug?

Thanks,
JM

7 years 1 month ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

HI Julian,

Please provide me backend and FTP access into this form www.jomsocial.com/submit-support , we will check the issue further there.

thank you!

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW