[wp-trac] [WordPress Trac] #25538: WP_Query: OR relation breaks orderby meta_value
WordPress Trac
noreply at wordpress.org
Wed Feb 19 23:56:36 UTC 2014
#25538: WP_Query: OR relation breaks orderby meta_value
-----------------------------------+------------------
Reporter: darrengrant | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.9
Component: Query | Version:
Severity: major | Resolution:
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+------------------
Comment (by jackreichert):
@oso96_2000 thanks! Took some digging to figure out. Switching AND & OR
works because the meta keys are the same, if you did AND with different
keys the answers would differ some.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25538#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list