Skip to:
Content

BuddyPress.org

Opened 7 years ago

Closed 4 weeks ago

#7877 closed feature request (fixed)

Tax query support for group queries

Reported by: boonebgorges's profile boonebgorges Owned by: espellcaste's profile espellcaste
Milestone: 15.0.0 Priority: normal
Severity: normal Version:
Component: Groups Keywords: has-patch has-unit-tests
Cc:

Description

See #4017.

Currently, it's not possible to pass a tax_query to bp_has_groups() and friends. This means that plugins have to do jump through some awful hoops to query for groups matching a taxonomy term.

To be clear, this ticket doesn't propose adding any user-facing taxonomies to BP groups - just the infrastructure that allows querying by taxonomy terms. However, the current ticket is a prerequisite for #4017.

Change History (7)

#1 @DJPaul
6 years ago

  • Milestone changed from Up Next to Awaiting Contributions

#2 @espellcaste
6 months ago

  • Milestone changed from Awaiting Contributions to Up Next
  • Owner set to espellcaste
  • Status changed from new to assigned

#3 @imath
5 months ago

  • Milestone changed from Up Next to 15.0.0

#4 @espellcaste
4 months ago

  • Type changed from defect (bug) to feature request

This ticket was mentioned in PR #402 on buddypress/buddypress by renatonascalves.


5 weeks ago
#5

  • Keywords has-patch has-unit-tests added; needs-patch removed

This ticket was mentioned in Slack in #buddypress by espellcaste. View the logs.


5 weeks ago

#7 @espellcaste
4 weeks ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 14078:

Groups: add support to query for groups matching a taxonomy term.

Support was added (with unit tests) to pass a tax_query to bp_has_groups() and friends, to query for groups matching a taxonomy term.

Props boonebgorges, DJPaul, and imath.

Closes https://github.com/buddypress/buddypress/pull/402/
See #4017
Fixes #7877

Note: See TracTickets for help on using tickets.