Skip to:
Content

BuddyPress.org

Opened 9 months ago

Closed 9 months ago

#8443 closed defect (bug) (fixed)

Correct behavior of "search_terms" behavior in BP_Invitation::get().

Reported by: dcavins Owned by: dcavins
Milestone: 8.0.0 Priority: normal
Severity: normal Version: 7.2.0
Component: Core Keywords: has-patch commit
Cc:

Description

While building out the admin management console for network invitations, I found that I hadn't built out the logic for the search_terms parameter. This patch fixes that incomplete logic and adds a test for the behavior.

Attachments (1)

8443.01.patch (3.0 KB) - added by dcavins 9 months ago.
Add invitee_email and invite content to searchable columns. Add test.

Download all attachments as: .zip

Change History (3)

@dcavins
9 months ago

Add invitee_email and invite content to searchable columns. Add test.

#1 @imath
9 months ago

  • Keywords commit added

Looks good 👌

#2 @dcavins
9 months ago

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

In 12866:

BP_Invitation: Improve search_terms support for useful columns.

Instead of searching the class column, which would potentially return
surprising results, search the invitee_email and content columns.

Fixes #8443.

Note: See TracTickets for help on using tickets.