Skip to:
Content

BuddyPress.org

Opened 7 years ago

Closed 7 years ago

#7780 closed defect (bug) (fixed)

BP Nouveau: All site members are listed in Group members

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 3.0 Priority: normal
Severity: normal Version:
Component: Templates Keywords: has-patch commit
Cc:

Description

It's a JavaScript issue.

In the bp.Nouveau.objectRequest() during data.template setting : it's important to first set the data.template before reseting the data.object to members, otherwise both are the same: members.

I'll commit it asap ;)

Attachments (1)

7780.patch (731 bytes) - added by imath 7 years ago.

Download all attachments as: .zip

Change History (2)

@imath
7 years ago

#1 @imath
7 years ago

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

In 12014:

BP Nouveau: make sure the group members template is loaded when needed

Templates are loaded using Ajax requests triggered by the bp.Nouveau.objectRequest() function (buddypress-nouveau.js). For the group members specific screen, we need to set the template out of the object displayed (group_members) before resetting this object to members.

Fixes #7780

Note: See TracTickets for help on using tickets.