[wp-trac] [WordPress Trac] #25538: WP_Query: OR relation breaks orderby meta_value
WordPress Trac
noreply at wordpress.org
Wed Feb 19 22:25:26 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:
-----------------------------------+------------------
Changes (by oso96_2000):
* keywords: needs-unit-tests has-patch => has-patch 2nd-opinion
Comment:
@jackreichert nice work! I was trying to fix this, but got stuck
somewhere. However I had some unit tests using the example provided in the
report.
Worth noticing that if we use AND instead of OR, it outputs the same
result. Not sure if it's the correct behavior.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25538#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list