Skip to:
Content

BuddyPress.org

Opened 4 years ago

Closed 4 years ago

#8443 closed defect (bug) (fixed)

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

Reported by: dcavins's profile dcavins Owned by: dcavins's profile 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 4 years ago.
Add invitee_email and invite content to searchable columns. Add test.

Download all attachments as: .zip

Change History (3)

@dcavins
4 years ago

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

#1 @imath
4 years ago

  • Keywords commit added

Looks good 👌

#2 @dcavins
4 years 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.