Skip to:
Content

BuddyPress.org

Opened 12 years ago

Closed 12 years ago

#3924 closed defect (bug) (fixed)

$groups_template->total_group_count does not reflect passed 'include' or 'id' params; breaks pagination

Reported by: boonebgorges's profile boonebgorges Owned by: boonebgorges's profile boonebgorges
Milestone: 1.6 Priority: major
Severity: normal Version: 1.5.3
Component: Groups Keywords:
Cc:

Description

If you query for a certain list of groups, the total_group_count property of the groups_template object remains set to the total group count of the entire site. This causes problems with pagination, since pagination details are inferred using total_group_count.

Change History (1)

#1 @djpaul
12 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [5644]) Update groups loop total_group_count to reflect include/exclude arguments. Fixes #3924

Note: See TracTickets for help on using tickets.