Skip to:
Content

BuddyPress.org

Opened 5 years ago

Closed 5 years ago

#5695 closed defect (bug) (fixed)

Groups widget: Can't set more than 20 groups

Reported by: r-a-y Owned by: r-a-y
Milestone: 2.1 Priority: normal
Severity: normal Version:
Component: Groups Keywords:
Cc:

Description

Groups widget currently has the max parameter set, but is missing the per_page argument, which prevents the widget from showing more than 20 groups.

Change History (1)

#1 @r-a-y
5 years ago

  • Owner set to r-a-y
  • Resolution set to fixed
  • Status changed from new to closed

In 8480:

Groups widget: Set the per_page argument in bp_has_groups().

Previously, the per_page argument was not passed to bp_has_groups().
This meant that it wasn't possible to show more than twenty groups for the
groups widget. This commit addresses this.

Commit also switches the querystring to an array when setting up bp_has_groups().

Fixes #5695.

Note: See TracTickets for help on using tickets.