Skip to:
Content

BuddyPress.org

Opened 6 years ago

Closed 4 years ago

#7088 closed enhancement (maybelater)

If type is passed into bp_group_has_members have the bp_groups_members_filter select default to type

Reported by: garrett-eclipse Owned by:
Milestone: Priority: normal
Severity: normal Version: 1.2
Component: Groups Keywords: good-first-bug, needs-patch, trac-tidy-2018
Cc:

Description

Hello,

I would like to suggest the bp_groups_members_filter function which renders the group_members-order-by select default to the type if it's passed into bp_group_has_members like so;

<?php if ( bp_group_has_members( bp_ajax_querystring( 'group_members' ) . '&type=alphabetical' ) ) : ?>

As bp_group_has_members populates a new members_template global with this information we may be able to just lookup the currently set type via the $members_template global. By utilizing this we could also intercept any type setting if it's done via the bp_group_has_members filter or other ways.

Thanks

Change History (4)

#1 @DJPaul
5 years ago

  • Component changed from Members to Groups
  • Keywords good-first-bug needs-patch added
  • Milestone changed from Awaiting Review to Future Release

Yes

#2 @DJPaul
5 years ago

  • Version changed from 2.5.0 to 1.2

#3 @DJPaul
4 years ago

  • Keywords trac-tidy-2018 added

We're closing this ticket because it has not received any contribution or comments for at least two years. We have decided that it is better to close tickets that are good ideas, which have not gotten (or are unlikely to get) contributions, rather than keep things open indefinitely. This will help us share a more realistic roadmap for BuddyPress with you.

Everyone very much appreciates the time and effort that you spent sharing your idea with us. On behalf of the entire BuddyPress team, thank you.

If you feel strongly that this enhancement should still be added to BuddyPress, and you are able to contribute effort towards it, we encourage you to re-open the ticket, or start a discussion about it in our Slack channel. Please consider that time has proven that good ideas without contributions do not get built.

For more information, see https://bpdevel.wordpress.com/2018/01/21/our-awaiting-contributions-milestone-contains/
or find us on Slack, in the #buddypress channel: https://make.wordpress.org/chat/

#4 @DJPaul
4 years ago

  • Milestone Awaiting Contributions deleted
  • Resolution set to maybelater
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.