[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 14:54:24 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:  Awaiting Review
Component:  Groups        |     Version:
 Severity:  major         |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by boonebgorges):

 Thanks, richtelford. The problem is not improper bracketing (at least as
 far as I can see). It appears to be, as you suggested earlier, ambiguous
 joining. The first clause of the second-to-last line contains `g.id =
 wp_bp_groups_groupmeta.group_id`, but the second and third clauses do not
 contain corresponding subclauses.

 Is it possible for you to test this against the latest BP trunk, after the
 changes in r8949? It's possible that this is a duplicate issue, and is
 already solved in BP trunk.

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


More information about the buddypress-trac mailing list