Skip to:

Opened 2 months ago

Closed 2 months ago

#8400 closed defect (bug) (fixed)

Group Types: filtering by types fails on front end

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


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 2 months ago.

Download all attachments as: .zip

Change History (2)

2 months ago

#1 @imath
2 months 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.