[buddypress-trac] [BuddyPress Trac] #5824: Groups Meta Query, inconsistent results considering the meta query args

buddypress-trac noreply at wordpress.org
Wed Aug 20 14:24:36 UTC 2014


#5824: Groups Meta Query, inconsistent results considering the meta query args
----------------------------------------+------------------
 Reporter:  imath                       |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  high                        |   Milestone:  2.1
Component:  Groups                      |     Version:  1.8
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |
----------------------------------------+------------------

Comment (by boonebgorges):

 I can't reproduce this. Unit test attached (5824.unit-test.patch). imath,
 can you verify that I'm testing it correctly?

 Reproducibility aside, I'm not sure I understand why we'd need to do this
 double looping. The WHERE clauses should be independent of each other;
 there should be no case where multiple groupmeta table references appear
 in a single meta query where clause. Maybe you can share more of the
 details? What does the problematic SQL query end up looking like?

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


More information about the buddypress-trac mailing list