#16579 closed defect (bug) (invalid)
$groupby should be set for 'meta_query' too
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Query | Version: | 3.1 |
| Severity: | normal | Keywords: | has-patch reporter-feedback |
| Cc: | joco@… |
Description (last modified by scribu)
See patch.
Attachments (2)
Change History (9)
kerekesjoco — 2 years ago
- Description modified (diff)
- Keywords has-patch 3.2-early added; needs-patch needs-docs dev-feedback removed
- Milestone changed from Awaiting Review to Future Release
- Summary changed from Custom fields Query to $groupby should be set for 'meta_query' too
Could we describe the symptoms, provide sample code that exhibits the problem, and link to whatever codex page was updated. This ticket jumps right to the fix. :-)
comment:4
SergeyBiryukov — 2 years ago
http://codex.wordpress.org/Function_Reference/query_posts#Custom_Field_Parameters
meta_query is array of arrays (was a simple array in the example).
Version 0, edited 2 years ago
by SergeyBiryukov
(next)
comment:5
wonderboymusic — 9 months ago
In what case does this not already happen?
comment:6
SergeyBiryukov — 9 months ago
- Keywords 3.2-early removed
- Milestone Future Release deleted
- Resolution set to invalid
- Severity changed from major to normal
- Status changed from new to closed
The code in question was altered in [17699].
Feel free to reopen with more information if there's still a problem.
comment:7
SergeyBiryukov — 9 months ago
- Keywords reporter-feedback added
Note: See
TracTickets for help on using
tickets.

I updated the Codex page. Thanks for reporting.