Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/07/2018 02:06:35 PM (6 years ago)
Author:
djpaul
Message:

Nouveau: fix filtering Member Directory when specified by user type.

This is a problem we had with BP-Legacy's JS, and as it seems this part was
copied into Nouveau, we are implementing the same fix here. This involves not
using Javascript filtering for the Member Directory filters when a user type
is set.

A better fix would be to rewrite the Javascript to solve the underlying issue.

Fixes #7903

Props imath

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-template.php

    r12177 r12224  
    32383238            }
    32393239        } else {
    3240             if ( bp_get_current_member_type() ) {
     3240            if ( bp_get_current_member_type() || ( bp_is_groups_directory() && bp_get_current_group_directory_type() ) ) {
    32413241                $bp_classes[] = 'type';
    32423242            }
Note: See TracChangeset for help on using the changeset viewer.