Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 14 years ago

#1362 closed enhancement (no action required)

Groups directory : custom filtering possibility

Reported by: fairweb's profile Fairweb Owned by:
Milestone: Priority: minor
Severity: normal Version:
Component: Groups Keywords: needs-patch
Cc:

Description

Would it be possible to give the opportunity to filter on groups like filters can be applied for users ?
For example, in bp_core_classes.php, BP_Core_Users::get_users_by_letter may is using

$total_users_sql = apply_filters( 'bp_core_users_by_letter_count_sql'...

bp-groups-classes.php BP_Groups_Group::get_by_letter does not offer any custom filtering possibility.

same for BP_Groups_Group::get_alphabetically, BP_Groups_Group::get_active, BP_Groups_Group::get_popular
and probably other methods that may be used by plugin developers.

Thanks

Change History (2)

#1 @cnorris23
14 years ago

  • Component set to Groups
  • Keywords needs-patch added; group filter removed

#2 @boonebgorges
14 years ago

  • Resolution set to invalid
  • Severity set to normal
  • Status changed from new to closed

These methods have been merged into a single get() in the latest BP, and this function has such a filter.

Note: See TracTickets for help on using tickets.