diff --git src/bp-templates/bp-nouveau/includes/template-tags.php src/bp-templates/bp-nouveau/includes/template-tags.php
index 18d83e78f..751b2d9a9 100644
|
|
function bp_nouveau_get_search_objects( $objects = array() ) { |
1790 | 1790 | $objects['secondary'] = bp_current_component(); |
1791 | 1791 | } elseif ( 'group' === $primary ) { |
1792 | 1792 | $objects['secondary'] = bp_current_action(); |
| 1793 | |
| 1794 | if ( bp_is_group_home() && ! bp_is_group_custom_front() ) { |
| 1795 | $objects['secondary'] = 'members'; |
| 1796 | |
| 1797 | if ( bp_is_active( 'activity' ) ) { |
| 1798 | $objects['secondary'] = 'activity'; |
| 1799 | } |
| 1800 | } |
1793 | 1801 | } else { |
1794 | 1802 | |
1795 | 1803 | /** |