Skip to:
Content

BuddyPress.org

Opened 4 years ago

Closed 4 years ago

#8400 closed defect (bug) (fixed)

Group Types: filtering by types fails on front end

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 7.0.0 Priority: normal
Severity: normal Version:
Component: Groups Keywords: has-patch
Cc:

Description

Checking how the bp_group_type_list() was generating the Group Type directory link and I noticed the bp_groups_get_group_types() was filtering the group type before merging Group Type metadata. Result was I was displayed the wrong Group Type.

The attached patch is fixing the issue moving the code to filter group types after Group Type metadata has been merged.

Attachments (1)

8400.patch (818 bytes) - added by imath 4 years ago.

Download all attachments as: .zip

Change History (2)

@imath
4 years ago

#1 @imath
4 years ago

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

In 12798:

Merge Group Types Metadata before filtering Group Type objects

This is necessary to take in account the edits the site Administrator made from the Group Types Administration screen.

Fixes #8400

Note: See TracTickets for help on using tickets.