Opened 9 years ago
Closed 7 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
@
8 years ago
- Component changed from Members to Groups
- Keywords good-first-bug needs-patch added
- Milestone changed from Awaiting Review to Future Release
#3
@
7 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/
Yes