[buddypress-trac] [BuddyPress Trac] #5769: Configurable wildcard search types in BP_User_Query

buddypress-trac noreply at wordpress.org
Wed Jul 23 17:56:58 UTC 2014


#5769: Configurable wildcard search types in BP_User_Query
------------------------------+---------------------
 Reporter:  DJPaul            |       Owner:  djpaul
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  2.1
Component:  Core              |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by djpaul):

 * owner:   => djpaul
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"8675"]:
 {{{
 #!CommitTicketReference repository="" revision="8675"
 Core: add new `search_wildcard` parameter to `BP_User_Query`.

 This new parameter controls where BuddyPress places MySQL wildcard
 characters around the search term (when it's set).
 Prior to this change, BuddyPress added a wildcard character to both ends
 of the search term, but for some use cases, a more restrictive search
 pattern is required; you can specify "left", "right", or "both" (the
 default) to pick where the wildcard is added.

 Fixes #5769
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5769#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list