[buddypress-trac] [BuddyPress Trac] #5874: BP_Groups_Group::get() returns incorrect results when using meta_query with multiple meta_values and OR relationship

buddypress-trac noreply at wordpress.org
Mon Sep 15 20:26:02 UTC 2014


#5874: BP_Groups_Group::get() returns incorrect results when using meta_query with
multiple meta_values and OR relationship
--------------------------+------------------
 Reporter:  richtelford   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.2
Component:  Groups        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------

Comment (by richtelford):

 No problem. It was fortunate I needed to perform these meta data queries
 for the project I'm working on.

 Are you sure this only happens when using LIKE? I think the same issue
 occurs using "=" as well. I can't check right now but will do so when I
 get into the office tomorrow morning.

 I can submit a patch based on the diff between my two files if that helps?
 I'm not sure I'll have time to fully test it against all the other query
 arguments as well though as I'm in the middle of a project which needs
 completing fairly sharpish.

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


More information about the buddypress-trac mailing list